Forum Replies Created

Viewing 15 posts - 1,396 through 1,410 (of 2,462 total)

  • RE: Help with query to remove null warning message

    USe

    set ansi_warnings off

    above your code

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Number of Insert and\or update in a table.

    First of all, what kind of and why you want to create index to track update/insert operation ?

    and to answer your query , there is an dmv might help...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL 2005 Linked Server - Stored procedure

    first you need to check the connectivity with

    select * from [linkedserver].[databasename].[databaseoowner name].tablename

    Additionally, did you get any error when u executed your Sp ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Normalization

    marerose888 (8/24/2010)


    Boy I am with you on that one. I have been researching for several hours all over the internet and I can't find a sql plan that works....

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Update Trigger Using Inserted Table

    Correct "ON clause" columns as per requirement

    ALTER TRIGGER [dbo].[ApptTranTrig5]

    ON [dbo].[Appointment]

    AFTER UPDATE

    AS

    IF UPDATE(AppointmentStatusUID)

    BEGIN

    SET NOCOUNT ON;

    INSERT INTO dbo.AppointmentStatusTransactions

    (

    AppointmentUID,

    AppointmentStatusUID,

    PatientUID,

    ServiceSiteUID,

    StatusStartTime,

    StatusModifiedBy

    )

    SELECT

    i.AppointmentUID,

    i.AppointmentStatusUID,

    i.PatientUid,

    i.ServiceSiteUID,

    i.LastModifiedDate,

    i.LastModifiedByUID

    FROM INSERTED i INNER JOIN

    [dbo].[Appointment] A ON

    A.AppointmentUID = I.AppointmentUID

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Passing an array of input parameters to stored procedure

    Try this

    declare @RICLST varchar(8000)

    set @RICLST ='XS0256312264=MSXL,XS0473293701=MSXL,USP5880CAA82=MSXL,XS0442190855=MSXL'

    select '''' + replace (@RICLST , ',', ''',''') + ''''

    PRINT @RICLST

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Integrity Check & Index rebuild running at same time

    i dont think there is any linkage between these two . any specific reason or requirement ? or your are taking about "REPAIR_REBUILD"

    which does minor repairs and also rebuilds...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Integrity Check & Index rebuild running at same time

    Duplicate post

    Reply on http://www.sqlservercentral.com/Forums/Topic973194-146-1.aspx

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: INDEX DISABLE/REBUILD ???

    Jim McLeod (8/22/2010)


    Bhuvnesh (8/22/2010)


    Jim McLeod (8/22/2010)


    a 5 GB non-clustered index normally requires an extra 5 GB of space in the data file to rebuild it because it doesn't drop the...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: INDEX DISABLE/REBUILD ???

    Jim McLeod (8/22/2010)


    a 5 GB non-clustered index normally requires an extra 5 GB of space in the data file to rebuild it because it doesn't drop the index until the...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Index Defragmentation

    removed

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: MYSQL Deadlock

    Thanks Rohit, Well i don't think changing sequence avoided this deadlock.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How can CREATE INDEX be made more effecient

    Stefan_G (8/20/2010)


    I have made some tests and for some of my large tables creating a second identical index is 3 times faster than creating the original index.

    i will take...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: MYSQL Deadlock

    Rohit few things .....

    First,

    Ramji29 (8/20/2010)


    I asked them to update the parent first and then insert into child (Although these two records are not related)

    how ? as you told...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: snapmanager for sqlserver

    90% of databases are inactive mode :w00t: ? i am also curiuos ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 1,396 through 1,410 (of 2,462 total)