Viewing 15 posts - 2,206 through 2,220 (of 3,668 total)
I would get rid of the SELECT *.
I've had problems when the underlying table structure changed but the stored proc did not pick up the changes.
I would also switch to...
July 22, 2007 at 2:17 pm
If you are doing searches and retrievals that use all the fields in index 2 then stick with index 2.
Remember an index will be ignored if the query optimiser thinks...
July 16, 2007 at 1:42 pm
How often does the data warehouse get populated?
If it is a periodic load then having the database in simple recovery mode is OK. When you do a data load...
July 16, 2007 at 1:36 pm
CHAR is fixed length where as VARCHAR is variable length so VARCHAR should use less space than CHAR. The only caveat is that VARCHAR fields need to store something...
July 16, 2007 at 1:31 pm
Chris, it is obsolete.
When I built the original solution I used temporary tables however I found that views worked just as well and the temporary tables weren't needed.
The error is...
July 9, 2007 at 11:33 am
Depends on your permissions but you can do DROP db.dbo.view just as you can do SELECT * FROM db.dbo.view
July 6, 2007 at 1:43 pm
No, only one table at a time can have INDENTITY_INSERT ON.
What exactly are you trying to do?
July 6, 2007 at 1:40 pm
Run the trace without using the profiler. The profiler GUI slaughters performance.
July 2, 2007 at 2:39 pm
Where separation in 'n' tier applications CLR functions have little use because each component is a specialised resource.
Where the SQL Server is more of a one-stop-shop then the CLR functions...
July 2, 2007 at 2:31 pm
In the short term I would run a trace.
Other ways are to use the following to write to the Windows event log.
RAISERROR('Procedure name xxxxxx ran',10,1) WITH LOG,NOWAIT
You can have the...
July 2, 2007 at 2:21 pm
This a question to which the answer is "it depends".
The only way of telling is by using DBCC SHOWCONTIG to see how fragmented the tables are.
If you have tables on...
July 2, 2007 at 2:18 pm
I learnt to play the piano at the age of 5 and one of the first things they teach is how to hold your hands and wrists.
So far I have...
July 2, 2007 at 8:28 am
Perhaps we are going about this the wrong way.
I should like to suggest that Red-Gate make a sample application available to SSC members with the precise intention of getting SSC...
July 2, 2007 at 2:02 am
I use the RedGate products and find that they do speed things up.
There is a layout file used SQL Refactor that can be edited to give you the layout you...
June 28, 2007 at 12:43 pm
I'll look into it Marc. It should be possible but there is one thing I have found with SQL2005 and system tables. Basically you can't query them directly,...
June 6, 2007 at 4:54 pm
Viewing 15 posts - 2,206 through 2,220 (of 3,668 total)