on 05-19-2014 8:32 AM
hi.
i have one requirement
ie.
normally
sleect ordr.cardcode from ordr
i put this query in query generator
so, the result will come like
s
y
x
p
but what i need is, i want one column extra each time the value of this column is 'co'
like
co s
co y
co x
co p
is it possible...
i need your valuable suggestions..
Hi,
Try this:
SELECT 'CO' + T0.[CardCode] FROM ORDR T0
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
Yes, Possible. Please try below.
SELECT 'CO' as 'CO', T0.[CardCode] FROM ORDR T0
Hope this help
--
--
Regards::::
Atul Chakraborty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Srinivas,
if you Need the column Extra
try this also
SELECT 'CO' , T0.[CardCode] FROM ORDR T0
Regards
Ajith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.