Viewing 15 posts - 10,096 through 10,110 (of 18,923 total)
Well that still works.. depending on what you want to do with it. The child proc will be able to access the temp table as if it had created it.
March 2, 2007 at 8:39 am
Nothing to add here. Profiler is the only real option.
You can add the code to all the sps, but that still leave a lot of holes in the code (direct...
March 2, 2007 at 7:56 am
Maybe this would have avoided the truncatation of the post :
declare @var varchar(max)
select
@var =...
March 1, 2007 at 11:55 am
There's a lot more to that to do performance testing.
Are you using a sql server on a local pc (network can't be an issue)?
Are you emptying the procedure and memory...
March 1, 2007 at 7:50 am
It's hard to answer that one without seeing the test script you used. Can you provide it to us?
March 1, 2007 at 7:15 am
Yup, I had an emergency and I couldn't provide the full answer. That's why we are called a community after all. Thanx Anders.
March 1, 2007 at 7:00 am
Also have you run any dbcc command to check the integrity of the database?
February 28, 2007 at 4:31 pm
Here's a full script that creates a new users, adds him to the sa role and grant him access to the database. Then it show how the sp_rename works.
At this...
February 28, 2007 at 4:31 pm
How come this ain't in the format :
SaleManID, SaleAmount??
February 28, 2007 at 3:16 pm
You need a table that maps the salesmen to a team (actually 2 tables).
If you don't have that you can do a cased group by but I would strongly advise...
February 28, 2007 at 11:49 am
Her name is loner. Old hand is a nickname given based on the number of posts the person wrote.
February 28, 2007 at 10:10 am
Can't fully answer this one for a lack of time.
But you need to have a team table and a TeamSalesMan Table.
You then join the sale tables to TeamSalesMan to teams...
February 28, 2007 at 7:53 am
What I'm understanding is that you can afford to lose a full day's worth of data. If this is the case then you can switch to simple recovery and that...
February 27, 2007 at 6:25 pm
Viewing 15 posts - 10,096 through 10,110 (of 18,923 total)