Viewing 15 posts - 17,746 through 17,760 (of 18,926 total)
If I remember correctly it has something to do with sessions timing out or something like this... maybe the webmaster of this site can shed some light on this.
May 18, 2005 at 11:59 am
Or even faster for the same result without a cursor :
SELECT 'EXECUTE sp_spaceused ''' + name + '''' FROM sysobjects WHERE xtype LIKE 'U' ORDER BY name
The advantage of...
May 18, 2005 at 9:28 am
Did I post a solution of this thread???
I don't remember posting one... maybe you've read too many of my post lately Michael
.
May 18, 2005 at 6:41 am
You don't need dynamic sql for this task, read up on the links we posted.
May 18, 2005 at 6:38 am
Well you could have a parameter name @NestedLevel as tinyint that defaults to 0, then on every recall of the proc, you increment that value. Then in the code...
May 18, 2005 at 6:20 am
Are you using a list of tables because the tables to transfer can change from one exec to another?
May 17, 2005 at 2:40 pm
SELECT convert(varchar, DatePart(year, getdate()))
+ '-'
+ RIGHT('0' + convert(varchar(2), DatePart(month, getdate())), 2)
May 17, 2005 at 2:39 pm
The database doesn't shrink when you delete data from it.
It happens only when you shrink it.
Look up DBCC SHRINKDATABASE in bol.
May 17, 2005 at 2:37 pm
Depends of what you need... if you need to be able do resend the file as is once in a while. I would save the file on the hd...
May 17, 2005 at 2:36 pm
if you need ^ as in 2^5 = 32
then look up the function power
select power(2,5) = 32
May 17, 2005 at 2:33 pm
Viewing 15 posts - 17,746 through 17,760 (of 18,926 total)