Viewing 15 posts - 20,521 through 20,535 (of 22,219 total)
1 & 2, definately.
I'm not sure I understand what #3 is.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:42 am
Be very, very nice about it, but get it down in writing that you're suggesting this might be a poor decision. Then, as long as you're getting paid... train away....
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:41 am
What does the procedure GETSTOCKLEDGER do? It sounds like you may have incorrect syntax in there, but it could be something wrong on the server itself.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:37 am
No. That's a bad plan. If you're maintaining a 2000 database, you should be testing against a 2000 database. There were changes, not necessarily big ones, but they're there, to...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:34 am
I had to clean up your code just a bit, but it works just fine:
--created the tables so I could play
IF NOT EXISTS ( SELECT *
...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:32 am
Oops. Modulo 3.
:blush:
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:04 am
twity61 (4/30/2008)
yes. the users selecting the data that is being updated.
the update take about 15min.
snapshot isolation is good idea. I think it's...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 1, 2008 at 6:03 am
I wasn't thinking about it earlier, but you could just write the whole thing in SSIS. That will multi-thread very well.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 7:19 pm
Have you run a trace to capture the calls coming in to the server? Even if you identify a CPU problem, you need to figure out what's causing the problem.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 1:29 pm
a2zwd (4/30/2008)
I am developing an application to a garment factory. I have a doubt in designing a table.
Basic tables:
Jobs, JobColors, Material, Units, Currencies ...
These tables are designed with normalization rules.
I...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 1:14 pm
Yep. TSQL is a scripting language. As such it's sequential. To launch a seperate "thread" you have to make a completely different connection and launch a script from there.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 1:01 pm
You can look it up in more detail in the Books Online (the SQL Server documentation), but Text is a BLOB or Binary Large Object data type. It stores data,...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 1:00 pm
You can switch over to the decimal data type and you shouldn't lose any of your data. You'll have to write a script that migrates it over course, but no...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 12:53 pm
You can get that specific count for your manager one of two ways. Safely:
SELECT COUNT(*)
FROM MyTable
WHERE MyColumn = 'OldValue'
Or not so safe:
BEGIN TRAN
UPDATE MyTable
SET MyColumn = 'NewValue'
WHERE MyColumn = 'OldValue'
ROLLBACK...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 10:58 am
Probably. I couldn't find good documentation on the detail of this, but my understanding is, the batch or rpc complete events include all the server side processing, beginning to end....
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 30, 2008 at 9:34 am
Viewing 15 posts - 20,521 through 20,535 (of 22,219 total)