Forum Replies Created

Viewing 15 posts - 301 through 315 (of 783 total)

  • RE: Restoring after TRUNCATE TABLE

    Duncan Pryde (3/9/2011)


    SKYBVI (3/9/2011)


    Good question

    i would like to ask, we can restore at 9:15 right?

    But not after that?

    Regards,

    Sushant

    No, TRUNCATE TABLE doesn't affect point-in-time restore, so you can restore to any...

    Regards
    Sushant Kumar

  • RE: Restoring after TRUNCATE TABLE

    Good question

    i would like to ask, we can restore at 9:15 right?

    But not after that?

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    OK ..

    Now when i run hte code there is an error in hte line below:-

    LEFT(LTRIM(RTRIM(IM.ITEMNMBR)), (CHARINDEX('-', LTRIM(RTRIM(IM.ITEMNMBR))) - 1)),

    The error says :-

    Incorrect syntax near '-'.

    BUT when i run this code(t-sql)...

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    Gianluca Sartori (3/4/2011)


    SKYBVI (3/4/2011)


    Also, i want the results in body , not in as an attachment.

    Thanks.

    Regards,

    Sushant

    Sushant, if you look up sp_send_dbmail in BOL (Books Online, SQL Server's help) you will...

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    Also, i want the results in body , not in as an attachment.

    Thanks.

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    When i put my code in the @query = '.......'

    It says must declare the scalar varaiable @body1

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    I can't get 1 thing, how to put the value of the tsql code (result is a table) in hte content of the email...

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    ya its already created by my name...

    Ok, i got it , wat abt other queries i asked.

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    This is wat from ur example:-

    EXEC msdb.dbo.sp_send_dbmail

    @profile_name='Default Mail Account',

    @recipients='lowell@somedomain.com',

    @subject = 'New Item Notification',

    @body...

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    This is my code...

    i am gettingg error "Incorrect syntax near @message..

    create procedure dbo.rtw1

    @receipent nvarchar(100),

    @message nvarchar(30)

    as

    begin

    INSERT INTO IV00104

    (ITEMNMBR,

    SEQNUMBR,

    CMPTITNM,

    CMPITUOM,

    CMPITQTY,

    CMPSERNM)

    SELECT

    IM.ITEMNMBR,...

    Regards
    Sushant Kumar

  • RE: How to add email address in a t sql code

    I am using sql 2005 sp3..

    Do u mean , tht i shld write a stored procedure or i can just do tht in t sql code.

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: Can we clone a SQL Server 2005 Instance ???

    Vernon Jimmerson-306463 (3/2/2011)


    SKYBVI (3/2/2011)


    Isn't log shipping a clone of that instance of sql server.

    Regards,

    Sushant

    Log shipping is automated copy of transaction logs being applied to a database on the same or...

    Regards
    Sushant Kumar

  • RE: Can we clone a SQL Server 2005 Instance ???

    Isn't log shipping a clone of that instance of sql server.

    Regards,

    Sushant

    Regards
    Sushant Kumar

  • RE: Activity going on in db

    mohammed moinudheen (3/2/2011)


    How did you capture this information. What is the command?

    It appears to be some activity on tempdb.

    Right clicking on server --> reports--> schema changes history

    Why is it...

    Regards
    Sushant Kumar

  • RE: Activity going on in db

    It is happening almost every minute

    Regards,

    Sushant

    Regards
    Sushant Kumar

Viewing 15 posts - 301 through 315 (of 783 total)