Viewing 15 posts - 1,531 through 1,545 (of 1,923 total)
Also as u are brand new to this forum, i would recommend you going through this following article 🙂
CLICK HERE FOR FORUM POSTING ETIQUETTES - JEFF MODEN[/url]
so please post:
1. Table...
May 17, 2010 at 3:33 am
Nitesh, apart from _x002F_ and x_0020_ , are there any other pattern that might come in the string??
May 17, 2010 at 3:30 am
Malavika, without seeing you data we cant actually write a positively superior code, buy judging what u want from the code u put up, this might help you
select 0 as...
May 15, 2010 at 1:32 am
Gaurav, this might help you!
Update tablename
SET
PPT = CASE WHEN ISNULL( NULLIF(PPT,0), 1) = 1 THEN 1 ELSE PPT...
May 15, 2010 at 12:13 am
Peter, i can somewhat visualize your existing system and i guess i have a code that might get u there, but as Henrico said, we need to see "physically" how...
May 14, 2010 at 5:21 am
Nice to hear your issue is fixed! You're welcome, faheem! 🙂
C'est Pras! 😎
May 14, 2010 at 12:48 am
If you want to avoid negative condition, go the postive way... I quite dint understand what your requirement is! The question is too vague, friend! Please be more specific!
😎
May 13, 2010 at 11:32 pm
I will give u this, buy some back-up restore software! I guess Redgate has got a good one; i officially use Quest Software's LietSpeed! Back-up all the databases, put them...
May 13, 2010 at 8:06 pm
Suresh, your issue s exactly similar to the one posted under this:
http://www.sqlservercentral.com/Forums/Topic920770-392-1.aspx
I have given a code that will work for the requirement! Please go through that , Suresh!
May 13, 2010 at 10:21 am
Its an INT column where u are going to stuff your final output!
INT takes 4 bytes of space regardless of the "number" present in the row!
So assuming, after your...
May 13, 2010 at 9:34 am
Steve Jones - Editor (5/13/2010)
let us know if you find something.
Sure , Jones!
If it's a dev box, I'd be wary of load testing under VMs. You want to load test...
May 13, 2010 at 9:18 am
Gianluca Sartori (5/13/2010)
My latest fight with a database engine on a...
May 13, 2010 at 9:09 am
Steve Jones - Editor (5/13/2010)
Ha, me answering a thread isn't that amazing. At least I hope not. 😛
😛
Dig into the VM and look for pressure in memory or IO and...
May 13, 2010 at 9:05 am
Wow Jones himself replying a thread is such a gift, thanks first of all for the reply, Mr.Editor!
Now for your questions:
Steve Jones - Editor (5/13/2010)
May 13, 2010 at 8:52 am
shjaffer (5/13/2010)
My from_date and to_date are stored as integers.
Try this then (assuming your from_date is 8 digits long and 5 and 6th digits represent months):
;WITH DATE_CTE AS
(
...
May 13, 2010 at 8:44 am
Viewing 15 posts - 1,531 through 1,545 (of 1,923 total)