Viewing 15 posts - 3,661 through 3,675 (of 6,036 total)
Don't see where do you expect to gain performance.
If you'll do what you want to do performance will only suffer.
What you need to do is to revise your "lots of...
_____________
Code for TallyGenerator
August 10, 2007 at 6:47 am
kpi_desc = case dbo.tblCampaign.idMacroSegment
when 1
then
case dbo.tbl_kpi_sales.idKPI
when 2509 then 'Con Std'
when 2513 then 'Con...
_____________
Code for TallyGenerator
August 9, 2007 at 9:44 pm
Ouch!
30 minutes!
You must be kidding.
I thought my terribly long script generating complex XCBL was too slow - it took up to 3 seconds...
_____________
Code for TallyGenerator
August 9, 2007 at 5:25 am
It's what BOL says.
Unfortunately it's not true.
DATETIME is not exactly FLOAT.
It's "FLOAT with constraints"
_____________
Code for TallyGenerator
August 9, 2007 at 5:11 am
Who told you you need cursors for "XML EXPLICIT"?
And it takes less than 2 days to learn.
_____________
Code for TallyGenerator
August 9, 2007 at 4:59 am
Change function GetFirstAndLastGiftInfo to a view and join it to table People on people_guid= people_guid
_____________
Code for TallyGenerator
August 8, 2007 at 11:26 pm
Are you running it against the same database or against the copy in DEV?
_____________
Code for TallyGenerator
August 8, 2007 at 9:34 pm
Hm, I would say it's a question for primary school pupils.
How to get number of seconds if you know number of millions of seconds?
Then if you'll use DATEADD function you'll...
_____________
Code for TallyGenerator
August 8, 2007 at 9:29 pm
Read about "FOR XML EXPLICIT" in BOL.
Probably everything you need is there.
_____________
Code for TallyGenerator
August 8, 2007 at 6:50 pm
August 8, 2007 at 6:46 pm
What is datatype for that column?
_____________
Code for TallyGenerator
August 8, 2007 at 6:24 pm
RSingh,
probably your company needs to hire a professional to build your database and your queries.
Almost everything I see here is just inappropriate.
Everything.
This toy may work for dull databases with...
_____________
Code for TallyGenerator
August 8, 2007 at 3:01 pm
Angelindiego,
I posted it just several hours ago.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=388102
But I see the number of "programmers" not having any clue and (here is the problem) not bothering to RTFM is no that...
_____________
Code for TallyGenerator
August 8, 2007 at 2:32 pm
How many rows does your query update?
What is the size of each line (sum of DATALENGTH for all columns)?
Is there any chance of CROSS JOIN for those tables?
It typically happens...
_____________
Code for TallyGenerator
August 7, 2007 at 5:05 pm
The only case I can see when numbers after decimal point may be got truncated is when you use STR function without {length , decimal} specified.
Something like this: STR(12.45)
Check BOL...
_____________
Code for TallyGenerator
August 7, 2007 at 4:51 pm
Viewing 15 posts - 3,661 through 3,675 (of 6,036 total)