Viewing 15 posts - 20,746 through 20,760 (of 22,219 total)
Selecting from a table is different than selecting from a view and they shouldn't really be compared. Selecting from a view is basically selecting from a query that selects 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
April 3, 2008 at 6:49 am
I haven't heard that term before either.
We have implicit and explicit data conversions... Not helpful, but at least those words are used. An implicit procedure would be one that occurs...
"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 3, 2008 at 6:43 am
We currently have two processes, both effectively the same. One of them we use an in-house developed tool that generates scripts based on a manifest of changes. We basically just...
"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 3, 2008 at 6:41 am
From the error and your description, do you have some type of constraint on the column or table that prevents non-printing characters or something? Simply storing a carriage return 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
April 3, 2008 at 6:34 am
What error are you getting? Your test function ran fine on my machine.
"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 3, 2008 at 6:30 am
When you say 2 million rows, do you mean, per year or total. If total, I wouldn't sweat migrating the data out of that table assuming you've got good indexes...
"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 3, 2008 at 6:04 am
For that matter, if you right click a table in SSMS & use Script, Select, you can get a basic SELECT script for the table with all columns listed.
2008 will...
"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 2, 2008 at 11:07 am
First, the problem that you're running into now.
If you have code that expects 15 columns, but suddenly gets 16, it may not know what to do with it and will...
"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 2, 2008 at 8:24 am
There's no way to teach SSIS within a post on a newsgroup. However, I can point you to a few articles available on the site that should get you started.
http://www.sqlservercentral.com/articles/introductiontodtsinsqlserver2005/1486/
http://www.sqlservercentral.com/articles/SQL+Server+2005+-+SSIS/thenewetlparadigm/1719/
Here'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
April 2, 2008 at 7:49 am
One other thing you might check is running Profiler and getting statement complete events. This puts a significant load on the server, but you'd see the actual cost of each...
"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 2, 2008 at 6:45 am
Text data is just strings as far as SQL Server is concerned and UPPER is not any kind of data limit, but rather a format. You can probably use an...
"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 2, 2008 at 6:43 am
Use this code to create the linked server (the example is for connecting to Oracle):
EXEC master.dbo.sp_addlinkedserver @server = N'ServerName', @srvproduct=N'MSDAORA', @provider=N'MSDAORA', @datasrc=N'connectstring'
Then your TSQL just needs to include the server...
"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 2, 2008 at 6:37 am
You should look at Integration Services. This is the primary Extract Transform & Load (ETL) tool for SQL Server. It can open a large variety of data types and move...
"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 2, 2008 at 6:34 am
Excellent. Now you just need to look into those two clustered index scans to see if you can improve the performance even more. Look at your table and the predicates...
"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 2, 2008 at 5:33 am
Without structure & data, it'll be really hard to say.
Do you have the execution plan? Can you post the estimated plan for the full query that takes too long 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
April 1, 2008 at 1:10 pm
Viewing 15 posts - 20,746 through 20,760 (of 22,219 total)