Viewing 15 posts - 16 through 30 (of 30 total)
No, no, no. It's been deprecated :hehe:
November 15, 2011 at 7:59 am
(Nigel) Yep, yep, yep 🙂
October 5, 2011 at 9:04 am
This might be safer:
SELECT CONVERT(VARCHAR(30),GETDATE(),121) + ' ' + REVERSE(SUBSTRING(REVERSE( CONVERT(NVARCHAR(30),GETDATE(),0)),1,2))
(when date goes to 2 digit day)
October 5, 2011 at 7:38 am
Thank you for the reply, Lowell.
In the production environment, that (and probably those) extended procedure call(s) are not available (permission denied).
August 30, 2011 at 1:55 pm
The fully qualified term is "query execution plan" and includes two parts (as mentioned by others). Mr. Jones used the "execution plan" part, the bulk of us arguing for a...
June 28, 2011 at 8:13 am
I'm voting with the majority here. Reentrant and reusable. Got to interpret the words the same way - question and explanation. There is a distinction between "query plan" and "execution...
June 28, 2011 at 7:21 am
I apologize for this lame solution, but you could insert all of the new records first, leaving the id append off of ItemURL column, then go back and append the...
June 13, 2011 at 11:45 am
O.K. Am I missing something? Where is Step 4?
(Oops. Found it!)
June 7, 2011 at 10:42 am
Well, since everyone else likes to do subtractions, I thought I'd contribute an addition only solution 😀 (if you don't count DATEDIFF as subtraction :-))
SELECT DATEDIFF(dd,@testdate,(DATEADD(m,1,@testdate)))
April 27, 2011 at 12:52 pm
UPDATE table SET dtField = NULL WHERE dtField = 0
or maybe
UPDATE table SET dtField = NULL WHERE dtField = 0 Or dtField = '' ?
April 22, 2011 at 6:49 am
Is the 'point' column an integer or a decimal field? (I think we should all get an extra .5 point for the aggrevation :-P)
April 8, 2011 at 2:40 pm
Argh! How does something this simple and wrong make it through. Did nobody actually run the code prior to posting the question?
Steve, oh Steve, Cleanup on isle 42. ...
April 8, 2011 at 11:36 am
In my best Alex Tribeck voice: "Ohhh, sorry Gail. The correct answer was 3." 😀
March 21, 2011 at 12:56 pm
Not to belabor the subject, but if your naming convention (poor as it is) for triggers was something like "ITRIG", "DTRIG", "UTRIG" for each table, would the script for dropping...
January 25, 2011 at 10:56 am
Just a little off the main topic, but I found the enumeration script for table and views really helpful when trying to determine which objects had triggers associated with them....
January 25, 2011 at 9:50 am
Viewing 15 posts - 16 through 30 (of 30 total)