Viewing 15 posts - 46 through 60 (of 81 total)
There is nothing to get confused Mr Rehman...just copy paste the code before your post and you will know exactly what it does. By the way the issue is now...
January 4, 2012 at 1:58 am
Good Morning...
DECLARE @abc TABLE
(
SerialNumber varchar (50)
)
insert into @abc (SerialNumber)values ('00132 0045749WSE1')
insert into @abc (SerialNumber)values ('00181 ...
January 3, 2012 at 2:30 am
Ok i analysed the data and got a clue
create table abc
(
SerialNumber varchar (50)
)
insert into abc (SerialNumber)values ('12345 0047225P1')
insert into abc (SerialNumber)values ('00011 0055500ABC2')
So basically there is the letter to choose...
December 30, 2011 at 4:51 am
Thanks for your replies
i am looking for something like this
DECLARE @STR VARCHAR(100)
SET @STR = '12345 0047225P1'
SELECT SUBSTRING(@Str,CHARINDEX(' ',@Str)+8,1) + ' '+...
December 30, 2011 at 4:40 am
create table abc
(
SerialNumber varchar (50)
)
insert into abc (SerialNumber)values ('12345 0047225P1')
insert into abc (SerialNumber)values ('00011 0055500ABC')
I am expecting a table with once column name account number and the result like
Account...
December 30, 2011 at 4:26 am
so basically i need a query to fetch serial number and letter from the column which has two type of data
12345 0047225P1
00011 0055500ABC
The first data should have...
December 30, 2011 at 3:42 am
Hello Good Morning...Some of the data is like
00011 0055500ABC
So in this Account Number should be 0055500 and Account Letter should be only C
December 30, 2011 at 3:28 am
its cool i sorted it
December 13, 2011 at 4:56 am
sorted
December 9, 2011 at 4:10 am
cool. Thanks mate.
December 8, 2011 at 6:25 am
yeah thats what i was thinking as well.. Thanks.
Or may be i will have sql job which will transfer the data into a table in a database. What do...
December 8, 2011 at 6:21 am
Viewing 15 posts - 46 through 60 (of 81 total)