Viewing 15 posts - 4,321 through 4,335 (of 5,590 total)
Steve Jones - Editor (4/21/2010)
April 21, 2010 at 4:54 pm
Yes. Make a hidden parameter. Then use a variable to build the sql statement to run, using this parameter as the where clause.
April 21, 2010 at 3:43 pm
sergei.gorelik (4/21/2010)
April 21, 2010 at 3:35 pm
Lowell (4/21/2010)
i thought a server side trace starts when you run the command EXEC sp_trace_setstatus @traceid, 1, and runs continuously. rebooting or stopping/starting the...
April 21, 2010 at 3:32 pm
Lynn Pettis (4/21/2010)
Not someone I may consider hiring as a consultant or direct-hire.
Wow. Stubborn as a rock also. I sure hope he hires someone to come in and secure it,...
April 21, 2010 at 11:08 am
You don't need to give admin permissions, all you need to do is to grant alter trace permissions. See this entry in BOL for how to do this.
April 20, 2010 at 8:44 pm
CirquedeSQLeil (4/20/2010)
Steve Jones - Editor (4/20/2010)
April 20, 2010 at 6:21 pm
I also can do a few hours per week. By my count, this should bring it up to 7?
I recently talked w/ Andy Leonard, and he was very interested in...
April 20, 2010 at 6:08 pm
CirquedeSQLeil (4/20/2010)
Lynn Pettis (4/20/2010)
April 20, 2010 at 5:44 pm
CirquedeSQLeil (4/20/2010)
dma-669038 (4/20/2010)
April 20, 2010 at 5:38 pm
Okay, take the code I wrote above.
Change the "year" to "qq" in the two date functions, and the select @min-2/@max to the appropriate table/column. Add some code to calc the...
April 20, 2010 at 3:07 pm
You don't need wildcards to use replace... it replaces all occurrances.
i.e. select REPLACE('Hello World', 'or', '12') returns 'Hello W12ld'.
So, replace(columnname, 'XVD', 'SVD') would replace all occurrances of XVD w/ SVD.
April 20, 2010 at 1:34 pm
matt stockham (4/20/2010)
You can use 'TRUE' and 'FALSE' as quoted strings - http://msdn.microsoft.com/en-us/library/ms177603.aspx
I didn't know this... just tried it out, and it does work.
Your implicit conversion comment is incorrect -...
April 20, 2010 at 1:26 pm
The group by clause (in your second nested select) is referencing a column that is in a table not included in the select clause.
You might be able to avoid the...
April 20, 2010 at 11:58 am
Viewing 15 posts - 4,321 through 4,335 (of 5,590 total)