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

Remove the last 4 Character/Numeric

$
0
0

Hi,

I have a variable 'Postcode' and I want to remove the last 4 characters/numeric/blank, any idea how I do this please?

If I have a postcode as ZZ8 1ZZ

I just want my new variable to show ZZ8 only. 


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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