Viewing 15 posts - 14,386 through 14,400 (of 18,923 total)
Yup, is it for reporting or for a permanent table. If it's for a table then I strongly suggest against that design as it is denormalized. A simple...
August 16, 2005 at 6:30 am
Where are you creating the #temp table?
if it's inside sp_a, you can't go around a recompile.
Check out this article :
August 16, 2005 at 6:27 am
You can't do that. You need to use sp_executesql to fetch output values from dynamic sql, and you need to use a stored proc to do that. Sorry...
August 16, 2005 at 6:24 am
Still, why would you want to risk that, even in testing you can seriously screw up the server with this?
Why do you need to change the dates?
August 15, 2005 at 9:23 am
first turn off allow updates then alt-f4.
Seriouly why would take that chance????
Why do you need to change this setting?
August 15, 2005 at 9:11 am
Dito here... I had a single report using 24 objects!!!!!!!!. now it uses only 4 (4 different reports that make a big one).
August 15, 2005 at 7:33 am
I'd like to see an exemple of such a proc with 20+ parameters if it's possible.
August 15, 2005 at 7:13 am
You're ok. The goal is to forbid direct user access to the table. Sps are a great way to do that.
August 15, 2005 at 7:01 am
you can set a default value to the parameter. Then check to see if the value is different so that you know you need to use it. But...
August 15, 2005 at 6:51 am
If the missing ids are causing problems with your compagny, then by al means try to correct hit. Like in my case if we have a missing WorkOrder then...
August 15, 2005 at 6:27 am
Does it have to be every 6500th row or can it be any rows?
Select top 6500 * from table order by newid().
I'll post other solutions tomorrow.
August 14, 2005 at 10:45 pm
Insert into dbo.Num (Col order here), values ...
August 13, 2005 at 10:29 am
Viewing 15 posts - 14,386 through 14,400 (of 18,923 total)