Forum Replies Created

Viewing 15 posts - 14,521 through 14,535 (of 26,486 total)

  • RE: Not Trigger Happy

    Are you guarantteed to have only one record inserted into the table [dbo].[Temptable] at a time or is it possible that multiple records could be inserted by a singe insert...

  • RE: Not Trigger Happy

    So, is there an outer loop in this trigger? What I am trying to get to is that you should provide the entire definition of the trigger, not just...

  • RE: how to join two tables which share the same composite PK?

    hxkresl (7/1/2011)


    Lynn, thanks for replying. I think you meant 'the code looks good'. Yes, and it seems very straight forward yet it's not working. Other than the composite...

  • RE: Not Trigger Happy

    alhayalara (7/1/2011)


    Hi Lynn, thank for your attention.

    Pasted the code

    set @ID = (SELECT TOP 1 ID FROM TempTable WHERE Name = 'Products')

    set @NewMD = (SELECT TOP 1 NewCol2 FROM TempTable WHERE...

  • RE: Not Trigger Happy

    alhayalara (7/1/2011)


    I have a trigger that updates product tables across more than 80 databases. Somehow the trigger hits a timeout error after about 50 databases.

    We are speculating that this could...

  • RE: For And ForEach Loops

    filipeesch (7/1/2011)


    I'm not doing simple updates. Its a logic that a simples SQL command dos not resolve.

    In oracle ican do a foreach expression, like this:

    FOR( row IN (SELECT * FROM...

  • RE: Help with SQL query

    rockstar283 (7/1/2011)


    Thank you so much guys.

    Unfortunately, I am not allowed to use EXECUTE or SP_EXECUTESQL statements on the db. So, is there any other way?

    Just curious, but did you ask...

  • RE: case statement in a where clause

    First, instead of posting a piece of the function try posting the entire function for us to see.

    Second, please tell me how this fragment is supposed to work,as I am...

  • RE: DELETING MILLIONS OF RECORDS FROM DATBASE

    Here is another article that provides some guidance on deleting large number of records: Deleting Large Number of Records[/url].

  • RE: how can i improve the preformance for the following query

    Read the second article I reference below in signature block regarding asking for assistance with performance problems. Follow the instructions in that article and people will be more willing...

  • RE: how to join two tables which share the same composite PK?

    Based solely on the table definitions provided your looks code. As you noted, however, there is a difference in the data. Since we don't have access to your...

  • RE: Efficient ways to reset lost sql sa password

    wayne.mcdaniel (10/25/2010)


    Jeff Moden (10/24/2010)


    yitiana (9/19/2010)


    Have you ever forgot or lost your SQL Server sa password?

    I'm always amazed at how many people do such a thing.

    Probably more likely that the one...

  • RE: Code Ownership - DBA vs. Developer

    I have to agree with Jeff in many respects. I would chose to use a different term, however, when it comes to the DBA and ownership of the production...

  • RE: How do you vulgarize a DBA's job?

    Ninja's_RGR'us (4/29/2011)


    Ian-440692 (4/29/2011)


    I tried saying I worked with computers, but had so many requests to fix printers or help set up wireless networks that I changed and now I...

  • RE: Backup size should restrict to 4 GB

    aatishpatel (6/28/2011)


    7Zip works fine but RedGate is the best

    Maybe, but with limited resources (money) you do what you have to with what you can afford.

    With SQL Server 2005 I used...

Viewing 15 posts - 14,521 through 14,535 (of 26,486 total)