Viewing 15 posts - 9,076 through 9,090 (of 9,641 total)
I did a quick test kind of following Gregory's suggestion except I did not use profiler I user Set Statistics Time On. The first thing I did was create...
March 10, 2008 at 9:33 am
Drew (3/10/2008)
Let's assume that those queries are not contained in a stored procedure and...
March 10, 2008 at 8:14 am
Good article with a clear, concise explanation and test.
March 10, 2008 at 6:16 am
If you are linking to another SQL Server why are you using ODBC? You can directly link by name or use SQLOLEDB which both remove the overhead of ODBC....
March 9, 2008 at 11:04 am
When I say run the single inserts once is, instead of running this stored procedure with the cursor and and dynamic sql, run it once to create the insert...
March 9, 2008 at 11:03 am
How many "companies" do you need to create? Will they increment by 10?
You could do this in single SQL Statement:
While @num <= [target]
Begin
Insert Into table
...
March 8, 2008 at 9:50 am
By having varying column names you have a difficult task. I think ksullivan's reply will work, but it does not sound very scalable. Does your "dynamic" sp have...
March 8, 2008 at 9:29 am
Can you manually run a backup against that database using:
backup database db_name to ...
If you can do that can you successfully execute that command in a SQL Server Agent Job?
It...
March 8, 2008 at 9:19 am
Are you using char(nchar) or varchar(nvarchar) because, especially when using fixed length fields SQL Server has to expand the rows which is probably going to cause page splits and, if...
March 8, 2008 at 9:16 am
Correct, Full Text Search searches within a SQL Server database, not documents outside it. That is what Google Desktop, Windows Desktop Search are for.
March 8, 2008 at 9:11 am
1. Compile the data to show that there is a problem with disk access.
2. How much memory is on the server? What is the Buffer Cache Hit...
March 8, 2008 at 9:05 am
The Top 10 is limiting the rows being returned across the pipe, but is still causing the Source server to do a table scan or index scan as you are...
March 8, 2008 at 8:57 am
Have you considered using an Execute SQL Task within a For Loop container? You can create a variable that contains you sqlcommand and change that each time through the...
March 8, 2008 at 8:42 am
Since an Access DB was not really designed to be concurrent user you may gain some benefit by upsizing to SQL Server. You can test it first. The...
March 8, 2008 at 8:38 am
First, are you including all the tables in your database in the IN list? If you are you should get rid of the IN and use where TABLE_CATALOG =...
March 8, 2008 at 8:32 am
Viewing 15 posts - 9,076 through 9,090 (of 9,641 total)