Viewing 15 posts - 5,056 through 5,070 (of 9,643 total)
doveb (5/20/2009)
May 20, 2009 at 8:30 am
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...
May 20, 2009 at 8:23 am
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...
May 19, 2009 at 9:31 am
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...
May 19, 2009 at 8:48 am
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...
May 19, 2009 at 8:41 am
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.
May 19, 2009 at 8:17 am
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...
May 19, 2009 at 8:13 am
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...
May 19, 2009 at 8:00 am
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...
May 19, 2009 at 7:47 am
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...
May 19, 2009 at 5:03 am
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...
May 18, 2009 at 12:20 pm
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...
May 18, 2009 at 12:19 pm
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...
May 18, 2009 at 9:01 am
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...
May 18, 2009 at 8:22 am
Check out this article[/url] which contains a set-based split methodology. You can replace the numbers table with a CTE.
May 18, 2009 at 8:14 am
Viewing 15 posts - 5,056 through 5,070 (of 9,643 total)