Viewing 15 posts - 196 through 210 (of 522 total)
The error message is very clear. It's not allowed to create an index if the length of all the columns in the index exceeds 900bytes
February 24, 2006 at 7:31 am
1)
/***********************************************/
Following is giving error "Invalid column name 'name'"
SELECT * FROM msdb.dbo.
February 24, 2006 at 7:11 am
DECLARE
@JobName sysname
SET
@JobName=N'YourJobName'
IF
EXISTS(SELECT *
February 23, 2006 at 7:25 am
Though server and database can have different collations, the best setting is to make them the same. This is because tempdb and other system dbs will take server collations by...
February 22, 2006 at 7:01 am
exec
msdb.dbo.sp_help_job
exec
msdb.dbo.sp_help_schedule
exec
msdb.dbo.sp_help_jobschedule @job_name='YourJobname'
February 22, 2006 at 6:55 am
I have several databases that have more than 2.8 billions of records in some of the tables in sql 2000. It works well. For these tables, index design is very...
February 14, 2006 at 7:20 am
try this:
SELECT identity(int,1,1) as rownum, c1,c2,c3 into #temp from tab a
SELECT * FROM #temp
February 9, 2006 at 7:49 am
Whenever you COMMIT or ROLLBACK a tran, you need to test @@TRANCOUNT. If @@TRANCOUNT>0 do it, otherwise don't do it. This will avoid the erro "that the code has an extra "commit...
February 8, 2006 at 7:33 am
If more than servers are involved in a tran, sql server will automatically escalate the tran to a distributed tarn. So BEGIN DISTRIBUTED TRAN is the same as BEGIN TRAN...
February 8, 2006 at 7:05 am
These are all sql server predefined schemas. I don't think you can drop them becuase they own objects, e.g. sys schema owns all system objects.
If you need to tight the...
February 8, 2006 at 7:01 am
Yes. "column" deos not apply to insert and delete as well. E.g. you cannot insert/delete certain columns for a record. Column level only applies to select and update.
February 7, 2006 at 8:05 am
If the protected object is a stored procedure or user defined function, the 'column' is not applicable and showed as '.' or null
February 7, 2006 at 7:42 am
Based on my experience, datareader is definitely faster. FOR XML adds loads in database side to build it and loads on app side to parse it (or deserialize it) to...
February 7, 2006 at 7:30 am
Based on my understanding, only service and database master keys can be backed up. Other keys are protected by master keys. Check BOL for Encryption Hierarchy
February 7, 2006 at 7:26 am
Viewing 15 posts - 196 through 210 (of 522 total)