Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

sql query

$
0
0

Hi ,,

I have a table with some columns , but am concerned about this column.

If you see the values for this column below, the 1st and 2nd, 3rd and 4th ,5th and 6th are actually same..just a number is appended in front of them.

example lets take first two values: 20208296 and 000000208296. These two are same , some how 2 is appended in front and its making those two disitnct values.

How to find how many of those are like that in table. There are million rows in the table.

This column also has other kind of values , such as the last three values.I am not concerned about those kind.

ColumnA

20208296

000000208296

50822404

000000822404

60984072

000000984072

144233434

234354355

345346676


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>