Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SP with multiple tables and databases (insert & delete)
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00758108
Message ID:
00760029
Views:
22
>Nadya,
>
>There's nor CredID in your code.
>
I meant CreditID:

INSERT INTO CartDetail (CartContentID, CreditID)
SELECT @CartContentID , value
FROM fn_Split(@tcListOfCodes,',')

It works, but I assume, value is char and CreditID is int. Anyway, no errors and values are inserted correctly.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform