Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

I want middle number in select stament

$
0
0

HI Every one, 

Can you please help me. 

I want below 400750985  values in select statement and blow values 

"10001:400750985  Error: like new"

I used below substring function , but length not same :(

SELECT  top 5 SUBSTRING (column, 6, 9) AS ExtractString


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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