Looking for a SQL UPDATE statement written for the following issue:
A table was created, Whse.IStock. This table contains a column, SKU which holds stock numbers. The SKU column was created as a data type char(20) and right-justified the stock numbers with leading blanks.
Currently, to search stock numbers, a LIKE search is used. A new column will be added to the table, SKUNew with a data type varchar(20) which will contain the stock numbers with no leading blanks. I need an UPDATE statement written that would appropraitely place the appropriate data in the SKUNew column.
SQL UPDATE statement is created.