Viewing 15 posts - 2,191 through 2,205 (of 6,486 total)
Perry Whittle (12/11/2008)
Jeff Moden (12/9/2008)
... heh... or some very high velocity pork chops fired at point blank range. 😉tee hee hee ROTFL
You think that's funny - try picturing him with...
December 11, 2008 at 2:49 pm
Ray M (12/10/2008)
I don't know that you can.
what in the world are you trying to execute that is...
December 10, 2008 at 2:03 pm
The loop will tend to incur a rather severe penalty on larger sets. You could use something like this (note that this syntax could simply be used inside of...
December 10, 2008 at 2:00 pm
I don't know how big the script you need is, but you can concatenate multiple nvarchar's together during the EXEC call.
declare @nv1 nvarchar(4000)
declare @nv2 nvarchar(4000)
select @nv1=replicate('select getdate();',235);
select @nv2=replicate('Print ''Hello There''',210);
select...
December 10, 2008 at 1:53 pm
Jeff Moden (12/9/2008)
... heh... or some very high velocity pork chops fired at point blank range. 😉
Of course - close encounters with high velocity pork chops (whether fired from slingshot,...
December 10, 2008 at 12:10 pm
kanejeeves (12/10/2008)
Dcarlson (12/10/2008)
Steve Jones - Editor (12/10/2008)
The database is the schema+data+physical files. You wouldn't put this into VCS. You would put in the...
December 10, 2008 at 12:06 pm
That was a half thought not fully finished. There are a LOT of times when you can have a full environment wiothout having to have a full copy of...
December 9, 2008 at 8:32 pm
GilaMonster (12/9/2008)
Matt Miller (12/9/2008)
while (@i<50000)
BEGIN
SELECT *
Into #tempTable
from MyHumongousTable --1,750,000 rows
update MyNewTable
...
December 9, 2008 at 2:25 pm
Lynn Pettis (12/9/2008)
IF X...
December 9, 2008 at 1:48 pm
Grant Fritchey (12/9/2008)
Never mind. That actually makes my current local favorite look intelligent:
DECLARE @i int
SET @i =1
IF @i = 0...
December 9, 2008 at 1:46 pm
You declare @note, but never give it a value. So - you don't get anything qualifying for your query.
Which is really fine, because that's not how you want to...
December 9, 2008 at 1:37 pm
kanejeeves (12/9/2008)
Matt Miller (12/9/2008)
We have 4 code branches in TFS (DEV/QA/MO/MAIN), which match up to 4 physical environments.
What do you do with different releases then? For ex, TFS/DEV/Release1, TFS/DEV/Release2...
December 9, 2008 at 12:24 pm
Steve Jones - Editor (12/9/2008)
December 9, 2008 at 10:07 am
baumgaertner (12/5/2008)
How shall I call another procedure?What do you mean?
Describe, please.
It looks to me the easiest way owuld be to put the second if inside of a SQL variable statement...
December 8, 2008 at 1:14 pm
Keep in mind that the BETWEEN statement you're using MIGHT double count some items. depending on how you store those values - it could be counting the first of...
December 8, 2008 at 1:06 pm
Viewing 15 posts - 2,191 through 2,205 (of 6,486 total)