Viewing 15 posts - 14,146 through 14,160 (of 15,381 total)
Good question but I don't really agree that it displays "The encryption state of all databases on the instance". This view does not have a record for a database that...
August 29, 2011 at 8:17 am
kramaswamy (8/26/2011)
August 26, 2011 at 3:20 pm
The bandwidth consumed will vary greatly depending on the data being sent. There may be a more elegant calculation but you probably just determine how much data your system is...
August 26, 2011 at 3:17 pm
Jeff Moden (8/26/2011)
Sean Lange (8/26/2011)
True enough Jeff. Maybe it should be called LBAL (Level By Agonizing Level)? :w00t:
Heh... I was thinking the same thing and said, "Nah... " because it's...
August 26, 2011 at 2:48 pm
asm1212 (8/26/2011)
August 26, 2011 at 1:06 pm
oh yeah....forgot about needing to break up all the batches like you were doing. Pay no attention to the man behind the screen giving you bad advice. 😉
August 26, 2011 at 1:03 pm
hxkresl (8/26/2011)
solution was to put the select statement into parenthesis.declare @Eyear smallint
set @Eyear = (select Eyear from #tempYear)
woohoo. Thanks Sean for getting me there. Thanks to both for help.
One...
August 26, 2011 at 12:16 pm
That syntax will work too. I still think you can drop the temp table entirely but that is up to you. 😛 Glad you got it to work.
August 26, 2011 at 12:15 pm
True enough Jeff. Maybe it should be called LBAL (Level By Agonizing Level)? :w00t:
August 26, 2011 at 11:49 am
And of course if the two variables are always going to have the same value....just use one of them and you don't need both of them. 😀
August 26, 2011 at 11:47 am
You don't need a temp table for this at all. It is just adding unnecessary complexity. You have only a single row in this table populated by two variables.
To answer...
August 26, 2011 at 11:46 am
So you need to create a report in excel that uses excel as its datasource? Unless I am missing something I don't know why you would even bother with sql....
August 26, 2011 at 11:22 am
Recursive cte is still RBAR just not as visible. At any rate there a number of ways this can be accomplished. If you can post ddl, sample data (insert statements)...
August 26, 2011 at 11:19 am
al_nick (8/26/2011)
1. In tsql, if I use multiple BEGIN/END blocks in stored procedure, will the second BEGIN wait for the first END to complete before executing itself?
2. If...
August 26, 2011 at 11:16 am
You have a where clause on your select? Add the same where clause to the update. If you post your select I can show you.
August 26, 2011 at 11:10 am
Viewing 15 posts - 14,146 through 14,160 (of 15,381 total)