Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Loading Dotnet GUIDS in a UDT table

$
0
0

Hi all,

I need to load large amounts of data from a Dot net app into a table in my database. I have created a UDT type of table mimicking my db table. Two of the passed field are GUIDs. I get the data loaded but into the table but when I Execute the nonreader I receive an error that  about SQL being unable to read the Unique identifiers.  I've tried passing them as a string and casting them to a Unique identifier but I get a truncation error. Any ideas as to what I'm doing wrong? The database is SQL2008R2. Thanks,

Mike


Viewing all articles
Browse latest Browse all 12963


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