sql server - create a dummy column and populate with select -
i need use select query create dummy column , pad constant value. found partial answer question in related post, here answer:
select name, address, 'no' vacationing, zipcode mytable;
my question do if want pad number, such as:
'9999' vacationing - error that
also, if want cell empty, such as;
'' vacationing - error here also
tia
'9999' vacationing
valid.
you must using union
different column type - hence error.
Comments
Post a Comment