sql - How do I add a NULL column when SELECT'ing INTO a new table? -


i have statement this:

select field1, field2, myfield = null newtable oldtable 

this want 1 exception: field created myfield , filled null int type , i'd varchar type. don't know how modify same statement create new field varchar type.

thanks.

try replacing null

cast(null varchar) 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -