Viewing 15 posts - 10,096 through 10,110 (of 18,926 total)
Some times the session times out and you lose the message. If you had to hit post reply twice to get the post working then that is what happened.
March 3, 2007 at 10:26 am
--This would take about 2 hours to run on my pc.
SELECT TOP 999999999
IDENTITY(int, 1,1) AS Demo
INTO #Test
FROM master.dbo.SysColumns C1
CROSS JOIN master.dbo.SysColumns C2
CROSS JOIN master.dbo.SysColumns C3
SELECT COUNT(*) AS...
March 3, 2007 at 1:08 am
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
Viewing 15 posts - 10,096 through 10,110 (of 18,926 total)