Viewing 15 posts - 24,421 through 24,435 (of 59,099 total)
Eugene Elutin (2/10/2014)
Jeff Moden (2/10/2014)
MyDoggieJessie (2/10/2014)
Of course, you make valid points - 😉 I originally suggested SSIS, but provided a TSQL alternative - not pretty, but there it is...
The use...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2014 at 6:50 pm
durai nagarajan (2/3/2014)
1. How many months/GB of data do you want to keep active at any time.
1 month
2. What is the format of the date in the INT...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2014 at 6:45 pm
As a bit of a sidebar, I would never use Month END dates... not on a bet. I would always use the first of the next month as a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2014 at 12:42 pm
MyDoggieJessie (2/10/2014)
Of course, you make valid points - 😉 I originally suggested SSIS, but provided a TSQL alternative - not pretty, but there it is...
The use of xp_CmdShell shouldn't be...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2014 at 12:33 pm
Take a backup before doing the shrink and a backup prior to doing what comes up next...
If you don't mind NOT having point-in-time backups while the indexes are being rebuilt...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2014 at 12:27 pm
To me, there's not much difference, Tom. The end result at work is the same.
And, I agree... ring knocking is generally not a problem at the types of companies...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 10:01 pm
TheSQLGuru (2/9/2014)
Jeff Moden (2/9/2014)
TheSQLGuru (2/9/2014)
Please provide several sample sets of data and the corresponding table output you expect (with column data types). That's JSON, yes?
THAT's JSON? Shoot... that's...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 9:31 pm
On the other hand, you could just use BULK INSERT pointed at different views that all point to the same table.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 7:11 pm
TheSQLGuru (2/9/2014)
Please provide several sample sets of data and the corresponding table output you expect (with column data types). That's JSON, yes?
THAT's JSON? Shoot... that's just as bad...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 7:09 pm
mpradeep23 (2/9/2014)
i have data like this
"entitlementwrapper" : [ {
"Type" : "Factory Warranty",
"Date_Type" : "Ship date",
"Status"...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 7:06 pm
Eliza (2/9/2014)
I am working on a report that demonstrates how much time a room is on use between parameters for a start time and end time.
The users specifies a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 7:04 pm
Red-Gate has a product for comparing such data called "Data Compare". For things like this, it's worth the investment. Red-Gate also makes some other very useful tools. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 7:01 pm
Peter E. Kierstead (2/9/2014)
Why not try an inline function? What have you got against them?
lol, we've come full circle. The original intent of my question was to stretch the boundaries...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 6:44 pm
mtucker-732014 (2/9/2014)
IMHO oddball questions are not reliable or valid means of determining a candidates competence or fit for a job.
I couldn't agree more.
A few weeks ago I read...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 6:38 pm
I like this editorial and Paul's sort article on this a lot but, most of the time, I've found it to be just crap code and crappy table design.
Heh... I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2014 at 6:06 am
Viewing 15 posts - 24,421 through 24,435 (of 59,099 total)