Forum Replies Created

Viewing 15 posts - 1,636 through 1,650 (of 3,221 total)

  • RE: Query text during caching in SQL 2005

    Nice question ... learned something

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: resume after error for primary key violation

    Sachin.Nandanwar

    From Books On Line: (Emphasis added by this poster)

    When SET XACT_ABORT is OFF,in some cases only the Transact-SQL statement that raised the error is rolled back and the transaction...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: resume after error for primary key violation

    taking into account the comment posted by scott.pletcher Posted Yesterday @ 6:15 PM

    The folloing additional code should handle possible duplicates in the input data.

    --Create prior entries in xMast

    INSERT INTO dbo.xMast(CustomerCode)

    SELECT...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: resume after error for primary key violation

    Ann Cao

    Your welcome.

    If it works or does not work - come back and let us know .. so others might benefit from your experience

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: resume after error for primary key violation

    Not knowing how you transmit the data from the web application, I am imitating with a temporary table (#T) Prior to what is below, I inserted into my...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    GilaMonster (11/12/2010)


    I swear this project is going to drive me to drink.

    Email from BA/architect:

    Urgent! Business confirms that it is possible to have more than one X per Y. Out design...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Calculations based on Business Hours on weekdays

    chaudharyabhijit

    Without the table definition, sample data it is most difficult to attempt to answer your question. Please click on the first link in my signature block to read...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Help needed to make an identical copy of a db in SQL 2000

    Oops misread what version of SQL being used.

    Sorry about that.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: date calculations

    Is this what you are seeking:

    SELECT DATEADD(mm,-3,DATEADD(day, 1, GETDATE()))As '3 months ago',GETDATE() AS 'Today',

    DATEADD(day, 1, GETDATE()) AS 'Today plus 1 day'

    Results:

    3 months ago ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Best way to replace EXECUTE(@Query)

    You can find pleny of examples on this site of code to insert the values from a delimited list into table.

    Might I suggest this article by Jeff Moden, complete with...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Running TSQL as another user in SSMS

    Check out the EXECUTE AS command in Books On Line. Here is a sample from BOL.

    CREATE PROCEDURE dbo.usp_Demo

    WITH EXECUTE AS 'SqlUser1'

    AS

    SELECT user_name(); -- Shows execution context is set to...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (11/1/2010)


    In case anybody is interested...

    Steve is Presenting to my UG this Thursday. Meeting starts at 6:30 Pacific Nov 4th.

    https://www.livemeeting.com/cc/usergroups/join?id=PPBZ4S&role=attend

    Please use meeting ID: PPBZ4S

    Thanks for the heads up .....

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: A twist on the Merge statement

    Looking at the MERGE statement .. be aware that you can use two(2) statements in the WHEN MATCHED action, the gotcha is that each statement must contain an "AND'. ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: What will the results be for the code below?

    Good question ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    NOTE - first I do not have anywhere near the experience and or skill set of most denizens of the thread. In fact I consider myself a "newbie", that...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 1,636 through 1,650 (of 3,221 total)