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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 12, 2013, 10:22 PM EDT
then in your code
";
Regards,
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 11, 2013, 12:00 AM EDT
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
Kavita Pharde44 reputationPosted Jul 11, 2013, 3:17 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 11, 2013, 6:16 AM EDT
Regards,
Iftikar
Kavita Pharde44 reputationPosted Jul 12, 2013, 9:10 PM EDT
";
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 12, 2013, 9:52 PM EDT
Regards,
Iftikar
Kavita Pharde44 reputationPosted Jul 12, 2013, 10:03 PM EDT
firstly i used these sp
after that i changed sp
Kavita Pharde44 reputationPosted Jul 12, 2013, 11:41 PM EDT