Viewing 15 posts - 42,541 through 42,555 (of 49,571 total)
Derek (12/6/2008)
I would think WHERE (dbo.tblSkillsetType.SQLSnippet) would cause an error
Yes it will. The where clause must consist of conditions, where one expression is compared against another. As I said in...
December 6, 2008 at 2:26 am
The only way to do that is to use dynamic SQL, build up the final query and then use sp_executeSQL to run it.
Be aware of the downsides of dynamic SQL...
December 6, 2008 at 1:32 am
Does the directory 'R:\MSSQL\BACKUP' exist?
Is there anything more useful in the SQL error log
December 6, 2008 at 1:22 am
sqlguy (12/5/2008)
And I know that if a query has 5 or more tables then this indicates that the query should be refactored.
Why 5? What's magic about a 5 table...
December 6, 2008 at 1:21 am
madhu.arda (12/5/2008)
Dead lock occured again. I have couple of questions:1.In this dead lock, SPID 90 is automatically killed by SQL Server right?
Spid 90 wasn't even involved. The deadlock...
December 6, 2008 at 1:12 am
GSquared (12/5/2008)
December 6, 2008 at 1:05 am
Tables, indexes and execution plan please.
For the exec plan, right click on the plan (in management studio) select save as. Save it as a .sqlplan file. Zip that file and...
December 6, 2008 at 1:03 am
Don't change the where clause. You don't want to change what rows the query's returning (affected by the where clause), you want to change how the results are displayed (the...
December 5, 2008 at 1:37 pm
Depends on the table, depends on the query, depends on the index.
e.g if the table has say 100 rows will it still use table scans despite there being indexes present...
December 5, 2008 at 1:36 pm
I'm going to guess that the columns are varchar and there's an index on at least one of them. If you compare a varchar column to an nvarchar parameter, SQL...
December 5, 2008 at 1:33 pm
I'm not even sure you can.
Maybe for a static reporting environment where all databases are static, but that's an odd case. SQL just doesn't scale out.
December 5, 2008 at 12:56 pm
Yes, but it's not the same databases.
Active/active is two instances of SQL each with their own databases, one running on each node (hence each node is active) and set...
December 5, 2008 at 12:32 pm
juancabrer (12/5/2008)
December 5, 2008 at 12:16 pm
There's no way to have two active instances of SQL on two machines using the same database files (as you would have in a load balancing scenario). The way clustering...
December 5, 2008 at 12:13 pm
Barkingdog (12/5/2008)
What is your opinion of this layout? OK, overkill, not enough?
Where are you going to put your backups?
December 5, 2008 at 11:36 am
Viewing 15 posts - 42,541 through 42,555 (of 49,571 total)