Forum Replies Created

Viewing 15 posts - 196 through 210 (of 522 total)

  • RE: Error while creating Index

    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

     

  • RE: Info of Jobs & Schedules

    1) 

    /***********************************************/

    Following is giving error "Invalid column name 'name'"

    SELECT * FROM msdb.dbo.

  • RE: Info of Jobs & Schedules

    DECLARE

    @JobName sysname

    SET

    @JobName=N'YourJobName'

    IF

    EXISTS(SELECT *

  • RE: Collations on SQL Server

    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...

  • RE: Info of Jobs & Schedules

    exec

    msdb.dbo.sp_help_job

    exec

    msdb.dbo.sp_help_schedule

    exec

    msdb.dbo.sp_help_jobschedule @job_name='YourJobname'

  • RE: Billions of Rows in Database Tables

    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...

  • RE: Rownum against each row

    try this:

    SELECT identity(int,1,1) as rownum, c1,c2,c3 into #temp from tab a

    SELECT * FROM #temp

     

  • RE: Transaction Handling Across Linked Server

    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...

  • RE: Transaction Handling Across Linked Server

    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...

  • RE: Schemas in SQL2005

    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...

  • RE: A basic doubt on ''''sp_helprotect''''

    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.

     

  • RE: SQL Server 2005 and 2000, can they coexist?

    Yes.

  • RE: A basic doubt on ''''sp_helprotect''''

    If the protected object is a stored procedure or user defined function, the 'column' is not applicable and showed as '.' or null

     

  • RE: XML vs DataReader

    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...

  • RE: How to backup asymmetric key in SQL 2005

    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

Viewing 15 posts - 196 through 210 (of 522 total)