Forum Replies Created

Viewing 10 posts - 31 through 40 (of 40 total)

  • RE: Defragment the indexes in a database - NOT WORKING

    Thanks a lot.

    Rgds

    Mohan Kumar VS

  • RE: Defragment the indexes in a database - NOT WORKING

    Thanks for your response. I've idenfied the same.

    Can you please let me know if there is any script to change Non-clustered index to Clustered Index?

    Right...

  • RE: Defragment the indexes in a database - NOT WORKING

    Hi

    The details are as below for a table :

    ReservedSpace: 10776 KB

    DataSpace : 8640 KB

    CombinedIndex Space: 1488 KB

    UnusedSpace : 648 KB

    When I executed DBCC SHOWCONTIG ('TableName'),...

  • RE: Connecr TO MS - Access DB FROM MS - SQL

    Swati

    Windows Authentication requires that SQL Server services must run as domain users in trusted domains or as network services.

    To authenticate both ends of a connection, Windows Authentication uses the credentials...

  • RE: Connecr TO MS - Access DB FROM MS - SQL

    Swati

    You can try this:

    SELECT CustomerID, CompanyName

    FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',

    '\\servername\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb'; -- change the path here

    'admin';'',Customers)

    GO

    Rgds

    Mohan...

  • RE: select

    Tara

    Hope this will be helpful....

    -- Create Tmp Table

    create table #tmp1 (firstname varchar(100))

    -- Insert records

    insert into #tmp1 values ('BugdetRev120909_PA')

    insert into #tmp1 values ('SirsregionRev_CA')

    insert into #tmp1 values ('BugdetRev120909_PAxxx')

    insert into #tmp1 values...

  • RE: SQL Locks

    Vandana

    You can use sys.dm_tran_locks dynamic view to get information about currently active lock manager resources.

    Rgds

    Mohan Kumar VS

  • RE: TSQl advise

    Vandana

    Regarding:

    The table should have row-locking enabled to ensure that one user cannot delete a row that someone else is working on .

    You can use SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;

    ...

  • RE: How to split one mdf file into two

    backup database [dbaScripts] to disk=N'C:\backup\dbaScripts_1.bak',

    disk=N'd:\backup\dbaScripts_2.bak' with stats=10;

    Rgds

    Mohan Kumar VS

  • RE: Avoiding Dynamic Queries

    Thanks.

Viewing 10 posts - 31 through 40 (of 40 total)