Viewing 15 posts - 1,126 through 1,140 (of 5,502 total)
Wouldn't the WHERE clause be equal to
WHERE
fbt.cust_no != '0306A'
OR channel_cd in ('Correspond','Correspondent','Retail','Wholesale','IGNORE CHANNEL') ? :unsure:
August 11, 2011 at 2:26 pm
Ninja's_RGR'us (8/10/2011)
...Had forgotten the function and was focussing simply on your operation!
Another reason to post DDL! 😀
Seems like I wasn't clear enough the code I posted could be used to...
August 10, 2011 at 2:59 pm
Ninja's_RGR'us (8/10/2011)
Why bother with right?SELECT 1 000 000 + CONVERT(INT, ID) WHERE ID < 1 000 000
Because it would not return a character value with leading zeros?
The function Matt posted...
August 10, 2011 at 2:47 pm
instead of using LEN, you could get the same result with (assuming the purpose is to add leading zeros)
SELECT RIGHT(10000000 + CAST(idnumber as INT),7)
where id < 1 000 000
Edit:...
August 10, 2011 at 2:33 pm
Can you post the function?
Second question: is there any specific reason to use FLOAT instead of NUMERIC() or DECIMAL() (or even INT)?
August 10, 2011 at 2:17 pm
if you want to insert three "groups" of data you should use three insert statements, each one with its own group by clause.
There might be a way to build one...
August 10, 2011 at 1:06 pm
I'm not sure if I understand the concept. So let me ask: why do you have three parameter instead of just one?
Based on the description it should be easy to...
August 10, 2011 at 12:36 pm
If you don't have a datetime column in the table in question holding this information and there is no kind of auditing (e.g. capture data modification in a separate table...
August 10, 2011 at 12:15 pm
It's funny how a typo actually summarize the problem... (just look at the last line of the previous post) 😀
Without changing any code you won't get any change in...
August 6, 2011 at 1:58 pm
One reason for not having a reply might be that we don't have enough information.
What type of "search criteria" are you looking for? Does the full-text search meet your requirements?...
August 6, 2011 at 7:44 am
Thank you for providing ready to use sample data. Made it much easier than just based on the verbal description...:-D
It is assumed that the version number will be ascendign without...
August 5, 2011 at 11:59 am
If during the original design phase someone had such a scenario already in mind (and therewith decided to use unicode data type (NVARCHAR() / NCHAR() ) for both, table structure...
August 5, 2011 at 7:44 am
I don't think there's any real chance to catch a "bad guy" with the methods "they" show at the airport nor the stuff they've come up with at airplanes (plastic...
August 4, 2011 at 1:49 pm
changesky (8/3/2011)
August 4, 2011 at 11:14 am
duplicate post. no replies please.
Original post: http://www.sqlservercentral.com/Forums/FindPost1154024.aspx
August 4, 2011 at 1:10 am
Viewing 15 posts - 1,126 through 1,140 (of 5,502 total)