igorananda
New member
- Joined
- Jun 5, 2009
- Messages
- 2
- Programming Experience
- 1-3
Hi VB .Net grurus!
After spending a fear amount of time I still can not find a way to upload data via SqlBulkCopy in to the #temp table.
Here is a sample code. What do I do wrong?
Dim sqlConn As SqlConnection = New SqlConnection("Server=FC;Integrated Security=SSPI")
sqlConn.Open()
Dim blukcopy As SqlBulkCopy = New SqlBulkCopy(sqlConn)
blukcopy.DestinationTableName = "tempdb..#table"
blukcopy.WriteToServer(dtLiveHoldings)
Thank you!
Igor.
After spending a fear amount of time I still can not find a way to upload data via SqlBulkCopy in to the #temp table.
Here is a sample code. What do I do wrong?
Dim sqlConn As SqlConnection = New SqlConnection("Server=FC;Integrated Security=SSPI")
sqlConn.Open()
Dim blukcopy As SqlBulkCopy = New SqlBulkCopy(sqlConn)
blukcopy.DestinationTableName = "tempdb..#table"
blukcopy.WriteToServer(dtLiveHoldings)
Thank you!
Igor.