Viewing 15 posts - 4,696 through 4,710 (of 5,504 total)
I mixed old and new variables. Sorry.
select case
when cast(@FromTIME as datetime) BETWEEN @a AND @b
or cast(@ToTime as datetime) BETWEEN @a AND @b
then 'already'
else 'can'
end
Side note:
I too accept...
December 2, 2009 at 6:09 am
parthi-1705 (12/2/2009)
I have Attached my Requirement
In Q1 (File Name) The O/P is True it is correct because 12:01:00 to 12:59:00 lies between the Temp table Range of 11:31:00...
December 2, 2009 at 3:00 am
TheSQLGuru (12/1/2009)
select Total, Type1Count, Type1Count*100.0/Total as Perc1, Type2Count, Type2Count*100.0/Total as Perc2
FROM (
select count(*) as Total,
...
December 1, 2009 at 11:20 am
What exactly are you trying to do?
What are your expected results based on given parameter?
I tested Nabhas solution and it works just fine.
Is it possible that you still try to...
December 1, 2009 at 5:37 am
As an alternative you can define the collation of your temp table onlyy, not facing the pain Jeff mentioned.
That's basically the reason why I recommended to figure out the collation...
November 30, 2009 at 2:28 am
Please provide sample data as described in the first link in my signature together with what you've tried so far.
November 30, 2009 at 2:25 am
Is "USD23,185" just a given number or is it based on anything else?
I can't see any logical way to calculate the value as above based on the sample data you...
November 30, 2009 at 2:20 am
your data in the table does not match your variable setting.
The value of your variable is 2009-11-16 00:00:00.000, but the value in your table is 12 hours ahead: 2009-11-16 12:00:00.000.
It...
November 29, 2009 at 8:54 am
It's not really clear what you're looking for.
It seems like all you're trying to do is to eliminate one node level (like NodeA, NodeB, NodeB1 a.s.o.). Is that what you...
November 28, 2009 at 3:13 pm
Bru Medishetty (11/27/2009)
How about this MySQL Server 😛
Wouldn't be a valid result of the equation...
Btw: Adding a simple space to your suggestion would turn it into "My" SQL...
November 27, 2009 at 3:07 pm
Your execution plan does not really support your statement in terms of duration.
It looks like it's done within 13 milliseconds and not 11 seconds a stated in your original post.
The...
November 27, 2009 at 3:02 pm
Well, I probably have to use some math in the future to figure out what the post is about.
In this case it would be something like:
[import data from excel file...
November 27, 2009 at 2:43 pm
Bru Medishetty (11/27/2009)
amitsingh308 (11/27/2009)
Can anyone help me to guide how can i import data from excel file to mysql table.
....
Please...
November 27, 2009 at 2:07 pm
Viewing 15 posts - 4,696 through 4,710 (of 5,504 total)