i want to store document based on identity column of first table but i am not getting it can anyone help me
thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 13, 2013, 2:22 AM
then in your code
";
Regards,
Iftikar
Kavita PhardePosted Jul 13, 2013, 3:41 AM
Kavita PhardePosted Jul 13, 2013, 2:03 AM
firstly i used these sp
after that i changed sp
Iftikar HussainPosted Jul 13, 2013, 1:52 AM
Regards,
Iftikar
Kavita PhardePosted Jul 13, 2013, 1:10 AM
";
Iftikar HussainPosted Jul 11, 2013, 10:16 AM
Regards,
Iftikar
Kavita PhardePosted Jul 11, 2013, 7:17 AM
Iftikar HussainPosted Jul 11, 2013, 4:00 AM
Are doing both in a single SP? if yes then you can use
in your sp after inserting record into StudentInfo table
declare int
SELECT @stuid=IDENT_CURRENT('StudentInfo ')
then write insert for document upload
Let me know if you need any more information
Regards,
Iftikar