var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: how can I select last 4 chars from a field?
I have a SQL view defined by:
SELECT dbo.ORDERNMB, dbo.ORDERDATE, dbo.VENDORNAME
I need to get only the last 4 chars from the field "ORDERNMB".
Thankyou very much!
SELECT RIGHT(dbo.ORDERNMB, 4) as ORDERNMB,
With kind regards . . . . . SQL Server 2000/2005/2012
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages