Viewing 15 posts - 10,486 through 10,500 (of 15,374 total)
Still nothing to test with but I think this might be close to what you want...
select A, b, MAX(C), MAX(D), MAX(E), MAX(F), g
from
(
SELECT distinct
BASE1.AssetID AS a
,BASE1.Name As b
,case when BASE2.AssetID...
October 5, 2012 at 7:33 am
The logic that Praveena suggested is far better than looping for this. There is no need for looping here at all. There is no reason to be concerned by the...
October 4, 2012 at 3:35 pm
raghavender.2369 (10/4/2012)
ThanQ for your reply and please look at my question once, you would know what exactly i need.
What you want is simply not possible using the proper datatype. I...
October 4, 2012 at 3:28 pm
haiao2000 (10/4/2012)
raghavender.2369 (10/4/2012)
my friend said it is possible to store date in this...
October 4, 2012 at 2:43 pm
raghavender.2369 (10/4/2012)
October 4, 2012 at 2:29 pm
raghavender.2369 (10/4/2012)
by default date is stored in table 'yyyy-mm-dd' format , but I want to store date in 'dd-mm-yyyy' format, am i clear?
Yes....don't use varchar. Use datetime. Then there is...
October 4, 2012 at 2:18 pm
raghavender.2369 (10/4/2012)
ex:
data stored in the table in the following format
Todate
-----------
01-02-1988
03-06-1980
select * from...
October 4, 2012 at 2:11 pm
Jeff Moden (10/4/2012)
Sean Lange (10/2/2012)
It will work but referring to columns by ordinal position is fraught with maintenance issues.Not to mention that (IIRC) it's been deprecated.
And something I have...
October 4, 2012 at 1:03 pm
cphite (10/4/2012)
Sean Lange (10/4/2012)
The first time I ran the query below I thought it didn't update correctly (as I suspected). But subsequent runs are successful every time.
You think it...
October 4, 2012 at 1:01 pm
Randy Doub (10/4/2012)
It's updating a person's...
October 4, 2012 at 12:33 pm
You're welcome. Hope my posts helped. Post back if you run into any issues or need a little help.
October 4, 2012 at 11:38 am
PiMané (10/4/2012)
Is it safe to say that XML data type should be used to store data, instead of creating more columns on the table, data that won't be searched. If...
October 4, 2012 at 11:35 am
The first time I ran the query below I thought it didn't update correctly (as I suspected). But subsequent runs are successful every time.
You think it didn't work or...
October 4, 2012 at 11:30 am
I agree this process sounds like it was not well designed. How do you handle things like credit card rejections or simply typing in bad info? By that point the...
October 4, 2012 at 11:00 am
haiao2000 (10/4/2012)
Eventually I run into performance issue when number records being so large. Could you suggest another method of doing tree drill down?
Thanks!
You do realize this thread is 5 years...
October 4, 2012 at 10:18 am
Viewing 15 posts - 10,486 through 10,500 (of 15,374 total)