sql server - How can I save INT in NVARCHAR column database -


i have stored procedure saves int parameter nvarchar column.

if do

declare @valore int set @valore = 90  insert table (valore) values(@valore) 

so if select valore database can see this

90.0000 

insert table (valore) values(cast(@valore varchar(10)) 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -