Viewing 12 posts - 1 through 12 (of 12 total)
using dd with
SELECT DATEADD(dd, DATEDIFF(dd,0,GETDATE()), 2) will give you two days from now
April 7, 2010 at 9:37 am
SELECT DATEADD(wk, DATEDIFF(wk,0,GETDATE()), 2) will produce today's date not Start of the day 2 days from now as you stated.
Good idea to have scripts for dates
April 7, 2010 at 9:34 am
good article, can't wait to try it Thanks;)
February 6, 2009 at 8:03 am
Thanks Steve, Sometimes it seems like an us vs. them. Users seem to want more than what is possible. Developers act like the keepers of the data, and will...
April 15, 2008 at 8:13 am
What? We wish you a new car, you were not vert clear. You should have defined which we, we is.
December 26, 2007 at 8:53 am
Yes should work with creating a stored procedure and scheduling it , the SQLAgent has the rights needed
December 3, 2007 at 8:30 am
First create a linked server to Oracle server. Then select *
into MyTableName
from openquery(YourLinkedServerName, 'place query text here') FYI Oracle does not seem to understand " quotes so I always...
November 23, 2007 at 8:28 am
I agree with newbie on the Enterprise Manager linked server to oracle. I have used OLEDB MSORA, but sometimes use Oracle OLE. Once you have the link connected, using Query...
August 31, 2007 at 8:37 am
I've been there. When your boss is threatened by your expertise. That sour taste they have never goes away and work conditions can be unbearable, even when you are doing...
July 19, 2007 at 8:08 am
I just got that exact issue resolved. I was running my jobs (enterprise manager) which included queries against linked Oracle server using MSDAORA. It was running just fine. All of a sudden I...
June 29, 2007 at 10:21 am
Viewing 12 posts - 1 through 12 (of 12 total)