Computer Science Homework Solutions
Problem
#154864

Need a SQL UPDATE statement

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.

Solution
What is this?
By OTA - Overall OTA Rating
Yanfang Li, PhD - 4.9/5
Purchase Cost Now
$2.19 CAD (was ~$15.96)
Included in Download
  • Plain text response
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse