Viewing 15 posts - 20,791 through 20,805 (of 22,219 total)
Nice catch Jack. I just hadn't been aware of that. It's good to know because it's the kind of thing that can lead to a lot of confusion. Just 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
March 25, 2008 at 5:36 am
No, you can't pass the table name as a variable. You're close though. Instead of this:
UPDATE @TableName
SET @ColumnName = NEWID()
Create a variable of type nvarchar(max) and try this:
SET @sql =...
"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
March 24, 2008 at 4:13 am
Nice job Scott. I'm looking forward to seeing the code coming out of this effort.
"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
March 24, 2008 at 4:05 am
I'm just unsure at this point. I tried with a larger query, 178 lines, not insane or stupid, but surely not trivial. The first time I ran it, I got...
"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
March 21, 2008 at 12:46 pm
We're using DB Pro for all our new development and quite a few of our older systems. This is in SQL Server 2005 and 2000. We use the tool 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
March 21, 2008 at 7:05 am
The only way I know to do something like this is with a table that contains key values. You can then use IDENTITY. But, short some pretty intense triggers or...
"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
March 21, 2008 at 6:52 am
I'm sure it has been mentioned before, but be sure you're qualifying the procedure name and using proper case on the schema, proc, and all parameters.
That said. I'm running tests...
"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
March 21, 2008 at 6:16 am
The added value of having the perfmon files is that you can then link them up with Profiler files for some serious troubleshooting & tuning fun.
"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
March 20, 2008 at 1:43 pm
I just got an email, we're getting our kit next week. I'll look for the sample code then. That is unless someone else posts it for you.
"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
March 20, 2008 at 1:42 pm
Is this a plant? Are you looking to start a fight?
Well, I'll answer anyway.
My .00001 cents on this issue is, yes, use stored procedures as a standard method of development....
"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
March 20, 2008 at 12:56 pm
I wasn't, but our local user group (SNESSUG) is hosting one of those in a couple of weeks. If no one else hooks you up, I'll get the script from...
"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
March 20, 2008 at 12:42 pm
Adam Bean (3/20/2008)
Grant Fritchey (3/20/2008)
Instead of looking at the System Monitor, go to the Performance Logs and Alerts and set up a new Counter...
"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
March 20, 2008 at 12:19 pm
Terry (3/20/2008)
I have a PRODUCTS table which contains 2 fields: old product code and new product code.
I also have a clients table, where the old code is stored.
I would...
"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
March 20, 2008 at 12:17 pm
Sorry, left out a bit of detail.
Instead of looking at the System Monitor, go to the Performance Logs and Alerts and set up a new Counter Logs using the "New...
"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
March 20, 2008 at 12:11 pm
I would not recommend it, but you can log directly into a SQL Server database.
Instead, I've logged out the CSV's and imported them directly to a table inside the database...
"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
March 20, 2008 at 12:08 pm
Viewing 15 posts - 20,791 through 20,805 (of 22,219 total)