Viewing 15 posts - 1 through 15 (of 28 total)
Can you provide the below function code..
dbo.GetTimeZoneDiff(@timeZone)..??
August 9, 2010 at 3:23 am
I hope this may help you..
*******************************************************************
Set Nocount On
Declare @InTableName Varchar(200)
Set @InTableName = 'Ac_LedgerMaster'
Declare @AllTables Table(Tid Int Identity(1,1),TableName Varchar(200), ObjectId Varchar(50))
Insert Into @AllTables(TableName, ObjectId)
Select NAME, OBJECT_ID From Sys.Objects Where Type =...
August 9, 2010 at 3:15 am
August 9, 2010 at 3:01 am
SLeitch (8/6/2010)
Here's one way you could rewrite your code, using drew.allen's unpivot query. Takes about 30ms on my server.
Thnx Sleitch..for the code provided..
wht i have observed so far is:(by...
August 7, 2010 at 12:27 am
bteraberry (8/5/2010)
If you don't want to do any work I would suggest you hire a consultant.
You haven't provided the base data or table structures. You've merely provided the results...
August 6, 2010 at 5:48 am
Thank you all the members for their replies/suggestions who participated in my topic..
especially for Fritchey..
If any other reasons for "Reasons for difference in execution plans"..
Please dont forget to post here..
what...
August 5, 2010 at 6:54 am
GilaMonster (8/5/2010)
Praveen Goud Kotha (8/5/2010)
just confirm me that whether the difference is in no. of parameters or different input data for the procedure..Yes.
??
August 5, 2010 at 6:41 am
Grant Fritchey (8/5/2010)
In addition to Gail's list:Different Parameters
Hi Fritchey..
happy to see your post for my topic..
Nice to meet you in this way..
And you said that Different Parameters also leads to...
August 5, 2010 at 6:30 am
Apart from all the above,
is there any chances because of change in the service packs releases of sql server..
August 5, 2010 at 4:34 am
Hi..
Any one can optimize(physically/logically) my code..
if possible please post the re-written code..
August 5, 2010 at 3:04 am
Eugene Elutin (8/3/2010)
I've looked through the posts and have not found the one where you have mentioned that data you have is result of pivoting it just looks like it...
August 3, 2010 at 3:09 am
Eugene Elutin (8/2/2010)
I wonder, does original data comes in a such "pivoted" way? I would think that you might have the same data somewhere in a bit different layout eg....
August 3, 2010 at 12:16 am
Even though introducing the tables(for the range values) is not working in decreasing the length of the code....
and i agree with you for introducing the UDF..bcoz it is going to...
August 2, 2010 at 8:55 am
Can you explain little bit clearly please....
if possible, can you rewrite the code ..
August 2, 2010 at 5:15 am
if any one asks me to write the same above code,
i will prefer the following way..
SELECT REPLICATE(0,LEN(DATEPART(M,GETDATE())))+CONVERT(CHAR(2),DATEPART(M,GETDATE()))
Can any one say which will be the optimized way to follow...??
July 28, 2010 at 4:38 am
Viewing 15 posts - 1 through 15 (of 28 total)