Viewing 15 posts - 1 through 15 (of 48 total)
Thank you everyone. I am still working on this.
The code
SELECT s.ROW_ID, DATEADD(MINUTE,ISNULL(x.UTC_OFFSET,0),s.Created)
FROM S_SRV_REQ S
LEFT JOIN (SELECT TOP 1 tt.UTC_OFFSET, TT.START_DT
FROM S_TIMEZONE T
JOIN S_TIMEZONE_TEMP TT
ON T.ROW_ID =...
December 10, 2008 at 4:52 am
The error message returned from executing the SELECT above with the DATEADD function is:
Msg 174, Level 15, State 1, Line 1
The dateadd function requires 3 argument(s).
Msg 156, Level 15, State...
December 9, 2008 at 12:58 pm
This query was a simple example of how we would use the function.
We are aquiring companies around teh world and for UTC we need to have one time zone. ...
December 9, 2008 at 12:56 pm
Yes I do have an execution plan. Please see attached zipped file that includes the execution plan
Thank you everyone. I appreciate this
December 9, 2008 at 11:31 am
This query:
SELECT ROW_ID, CREATED, dbo.ConvertGMTToEST(CREATED)
FROM S_SRV_REQ S
returns 959,970 rows in 48 seconds
This query:
SELECT ROW_ID, CREATED
FROM S_SRV_REQ S
returns 959,970 rows in 4 seconds
Want to know how to speed up the function....
December 9, 2008 at 11:27 am
THE ABSOLUTE 100% CORRECT ANSWER TO THIS PROBLE IS:
TURN OFF WINDOWS FIIREWALL.
THANK YOU ALL FOR RESPONDING, BUT I GOT THE ANSWER
September 30, 2008 at 5:43 am
Gila,
I have no idea what this query is suppose to do. It is generated by Siebel for a report that is used by the marketing team based on Campaign History...
September 25, 2008 at 10:13 am
Simple, straight forward, and to the point.
But in my opinion it should not be called reserved space. It should be called "Total Space Used Up by table and related objects...
September 24, 2008 at 12:48 pm
YOU HIT THE NAIL MRIGHT ON THE HEAD, Thank you so much.
I removed the "UN-NEEDED" UPPER clauses and BINGO, query runs in 3 seconds. Returns the ssame...
August 12, 2008 at 1:03 pm
Don't think teh UPPER has anything to do with it.
If I comment out the joing:
LEFT OUTER JOIN SW_ORD_LIST_EXT OLE ON (UPPER(BH.ORDER_NO) = UPPER(OLE.ORDER_NO) AND BDTL.LINE_NO = OLE.LINE_NO)
The entire query runs...
August 12, 2008 at 12:33 pm
Yes I did that and it does work, but it does not save any time off the execution. I do thank everyone for their assistance. I hope I can get...
August 12, 2008 at 12:27 pm
I do that but the save part is grayed out. I am using 2005 Management Studio with SQL Server 2000.
And I am doing that because I installed teh development tools...
August 12, 2008 at 12:11 pm
How do you save the execution plan in SQL server 2000 using Management Studio?
August 12, 2008 at 12:04 pm
Sort order is the same in both Latin1 General CIAS
Your modification changed my 41 seconds to 1 minute and 5 seconds. The table SW_Booking_Setup always has ONE row...
August 12, 2008 at 12:01 pm
Just ran that same query in our old environemnt (SQL SERVER 2000) and it ran in 41 seconds returning 40,000+ rows. Same query plan, same data.
No need to include...
August 12, 2008 at 9:19 am
Viewing 15 posts - 1 through 15 (of 48 total)