Viewing 15 posts - 211 through 225 (of 334 total)
The lists are always small (1-4 entries against 1-6 entries). I used a variation of your code Rookie to implement it as a user defined function (had to change the...
January 28, 2005 at 10:07 am
Sounds like you had a bad/old copy of the SP in the cache. The WITH RECOMPILE option might have fixed that. Or you could have cleared the cache with a...
January 27, 2005 at 6:20 am
A relatively new Dell (2.8Ghz) with CD-burner and DVD for me and the wife. A surplus Compaq Deskpro from work that's configured for me to use VPN to access work,...
January 25, 2005 at 8:55 am
Still, you have to run it against each DB as opposed to the posted SP which gets all the DB names from master.dbo.sysdatabases and recurses the list. OK, it uses...
January 13, 2005 at 9:02 am
Based on some quick empirical testing the above SP's only apply to the current database. The new SP posted above lists all relevant data (OK, we could add SID if...
January 13, 2005 at 7:31 am
Here's a version that doesn't require the DBRoles table and executes the final SELECT with parameters so you can just execute List_DBRoles and specify things like "@dbo='Y'
January 13, 2005 at 7:01 am
Unfortunately the mail body is an HTML page so it appears xp_sendmail won't work. As far as I can tell from BOL xp_sendmail only sends text messages...
I'll look at CDOLive....
January 6, 2005 at 8:35 am
I don't know if it would run any faster (or slower), but if you always want to truncate the right-most 3 characters wouldn't it be easier to use
SELECT (left(CONVERT(varchar, CAST(SUM(S526960.tappMonth2Date.Offered)...
January 5, 2005 at 8:25 am
Answer 2 is correct. The question clearly stated the aliases were to be "fixed". That does not imply dropped, but remapped.
January 5, 2005 at 8:17 am
Thanks, I'll try that...
In another vein, since I didn't receive any replies initially and I had to move on this app I constructed the following SP cribbed from MS code....
January 4, 2005 at 6:12 am
If my post was taken as critical I apologize. I was just trying to offer the script from the library as an example of a flexible way to provide date...
December 22, 2004 at 6:30 am
A very nice utilitarian date formatting function that mimics VB's date format strings is available at http://www.sqlservercentral.com/scripts/contributions/1007.asp
I highly recommend it for low transaction volume systems that have odd date...
December 22, 2004 at 5:12 am
I have to agree with Frank. I'm happy to see try/catch in TSQL. Right now I have to code all sorts of crap to handle exceptions that aren't MS' fault,...
December 7, 2004 at 2:08 pm
I attended a webcast overview on SS 2005 and they talked very briefly about TSQL vs. CLR. They don't expect a mass migration to CLR. The presenter's take (he was...
December 7, 2004 at 1:30 pm
Viewing 15 posts - 211 through 225 (of 334 total)