Forum Replies Created

Viewing 15 posts - 5,056 through 5,070 (of 9,643 total)

  • RE: Creating a recycle bin for SQL Server 2005\2008

    doveb (5/20/2009)


    What a great idea. Thank you for the tip. I did have one question. Are there any additional considerations for items that are schema bound or...

  • RE: Creating a recycle bin for SQL Server 2005\2008

    Interesting article and great concept. I've always relied on backups if an object gets dropped accidentally but this would be an interesting concept. I'm wondering why you...

  • RE: IF EXISTS High Duration

    Check your statistics. Your IF EXISTS is showing an estimated # of rows for your "permanent" table as under 4 and the select as over 800K. Using the larger...

  • RE: IF EXISTS High Duration

    But it isn't faster when your proc "hangs" at the IF EXISTS. Plus you are using more resources because you have to scan tmptbl1 twice no matter what your...

  • RE: Delete help

    You just need to be careful when using BETWEEN since SQL Server stores the Date with a time so you need to take the time into account. For example

    Delete...

  • RE: Limitation on database mail (external emails)

    I send email to my gmail account on a regular basis. You can also set up database mail to use an external smtp server like hotmail or gmail.

  • RE: IF EXISTS High Duration

    Why do the check at all. Your second insert statement does exactly what you need done, insert new rows. If there are no new rows you won't get...

  • RE: Do you have access to your Windows server box ?

    I have always had local admin rights on my SQL Server boxes, but I can see where I would not need it, and it places I have worked I could...

  • RE: Data Model Advice Needed

    Looks like you are going the right direction.

    As far as I know you can make LocationID the child portion of a FK even though it is part of the composite...

  • RE: Database mail

    Yes you could disable it that way, or you can go to that point and go into the rule's properties and add DatabaseMail90.exe to the exception list. As I...

  • RE: If Exist, Update Value in Table

    You would need to test that situation. It appears that there can be a performance benefit by using EXISTS/NOT EXISTS, but you should test both before you make a...

  • RE: Permissons on views

    Okay, I did not know that you were crossing databases with the view. By default cross database ownership chaining is disabled so in order for a view to cross...

  • RE: Database mail

    shanila_minnu (5/18/2009)


    ya it is the problem of blocking....how can i resolve this...please help me

    Jack Corbett (5/18/2009)


    You need to add database mail (DatabaseMail90.exe) as an exception to the rule.

    If you are...

  • RE: Populating another table via update trigger

    First I suggest you read this article[/url] (disclaimer, I wrote it).

    Then I suggest you read the first article in my signature line if you want code examples. The best...

  • RE: Help needed!! Split columns to rows for join

    Check out this article[/url] which contains a set-based split methodology. You can replace the numbers table with a CTE.

Viewing 15 posts - 5,056 through 5,070 (of 9,643 total)