Viewing 15 posts - 316 through 330 (of 352 total)
Steve - thanks for the reply. I actually have the SQL to render the DATEs (see samples below) What I need to know is how to render these in the...
November 29, 2005 at 6:03 pm
--FIRST DAY of CURRENT MONTH
select DATEADD(mm, DATEDIFF(mm,0,getdate()), 0)
--FIRST Day of the Year
select DATEADD(yy, DATEDIFF(yy,0,getdate()), 0)
--FIRST Day of the Quarter
select DATEADD(qq, DATEDIFF(qq,0,getdate()), 0)
--LAST Day of Prior Month
select dateadd(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate() ), 0))
--LAST...
November 29, 2005 at 10:40 am
Carl ~ thanks. Your solution worked PERFECTLY!!!
-bt
November 29, 2005 at 7:28 am
You all have been more than helpful. Question ~ when you mentioned 'Dont Forget 'IF' and 'TF' --- should I simply modify
((a.xtype='P' or a.xtype='U' or a.xtype='FN' or a.xtype='V')
to look...
October 4, 2005 at 3:24 pm
Thanks for the responses. Your replies helped me perform the following:
On Ent Mgr, I select PROPERTIES for the registered server name, then I selected the SERVER Properties tab and Checked the "allow...
September 9, 2005 at 2:26 pm
well, the .Net developer replied that he is going to TRIM the column.
Works for me. (thx folks!)
August 31, 2005 at 1:40 pm
GOVIN - the schema and sample data are listed as the first entry (at top of this page)
August 17, 2005 at 8:37 am
I wound up using CURSOR processing to accomplish this:
--Declare/Open/Fetch/Close/Deallocate CURSOR sample
declare @OrderID int, @ResetID1 int, @ResetID2 int, @OrderItemID int
declare OrderItemTaxCursor cursor for
select OrderItemID from...
August 17, 2005 at 8:30 am
Yes, I need all Persons w/ OR w/out an Application
Likewise, all Persons w/ OR w/out a Certification row
August 15, 2005 at 11:01 am
I should have clarified a little further…
I need to do something like this, I think…
SELECT...
July 28, 2005 at 10:04 am
THANKS Phil! I followed your recommended thread, found a pre-written proc, implemented it across a half-a-dozen jobs as the 1st step, and all is working great.
Much appreciated.
Bill
July 22, 2005 at 5:01 am
Yelena - it worked for me. (w/ the dozens of GO statements embedded throughout the script) I too was surprised that it completed successfully.
July 8, 2005 at 6:51 am
Viewing 15 posts - 316 through 330 (of 352 total)