Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Define table row variable and access to data?

$
0
0

hi,

we used from this code:

      execsp_spaceused@objname='Entity_Import_Letter_Zone1'

we want define a table row variable to save command result and change type of one field(DATA) from varchar to int(remove 2 char from right side of value),after insert this row into a new table.

we have 2 problem:

     1.can i defin table row variable?

     2.can i access to field of this variable?


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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