Viewing 11 posts - 1 through 11 (of 11 total)
The Will Robie series are definitely a good read. You mentioned books 1-4, however book 5 was just published the end of 17 (End Game). I just finished reading it last week...
February 9, 2018 at 7:08 am
I ran this script on one of my development servers & all worked fine.
I ran it a second time thinking it shouldn't find any more indexes to rebuild, but it's...
November 8, 2012 at 12:23 pm
Hi Alex, Here's how I programmatically script out stored procedures, views, and triggers from Sql-2000 so as to back them up on a nightly basis. I have created an Active-X task...
January 18, 2007 at 8:07 am
Now that's what I was looking for. Thank you very much!
January 14, 2004 at 12:16 pm
So even doing something like this:
select max(
isnull(datalength(column1),0)
+ isnull(datalength(column2),0)
+ isnull(datalength(column3),0))
from tablename
may be close but not totally accurate since it omits what is needed for internal storage. I would suppose varchar columns would also need...
January 13, 2004 at 2:32 pm
Wouldn't that be the length of the table definition, rather than the largest row of data inside the table?
BTW - when I run this I get the value 23448.
January 13, 2004 at 12:09 pm
Just as an FYI converting the varchar fields to varbinary also works.
where convert(varbinary(60),MyLastNameField) between convert(varbinary(60),char(0)) and convert(varbinary(60),replicate(char(255),60))
January 7, 2004 at 3:29 pm
Thank you very much for the fast reply! This would have taken me a real long time to figure out.
January 7, 2004 at 10:52 am
I didn't really think so. Thank you very much for the response.
June 11, 2003 at 10:42 pm
I need to do this exact something, and have developed it using dynamic sql as mentioned. What I'm wondering is has anyone tried doing this with the in clause...
June 11, 2003 at 11:41 am
I found my answer if anybody else is interested. In the Sql-Agent service within control panel, there is a setting for allowing the service to interact with the desktop....
May 8, 2002 at 8:28 pm
Viewing 11 posts - 1 through 11 (of 11 total)