Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Add a field to SQL table

$
0
0

I am trying to add a varchar(max) field to the table using the following procedure:

sp_repladdcolumn @source_object='TestTable', @column='TextBefore', @typetext='varchar(MAX)'

For some reason it does not allow me to do this. Does anybody knows how to accomplish it?

Thanks

Greg 


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>