Dear All,
I have one stored procedure like sp_insertEmploy ee
Employee Table Fileds
Eno int pk,
ename varchar(100),
designation varchar
In stored Procedure After inserting the ename and designation it has
to return the Eno pk Id automatically
I have another Department
deptno int pk,
Eno int fk,
Depname varchar
In this stored procedure I need to execute the sp_insertEmploy ee
Stored procedure and we need that Pk return value after executing
that
By using that Id in this Department table we will insert the eno
can u help me out on this issue
Thanks
I have one stored procedure like sp_insertEmploy ee
Employee Table Fileds
Eno int pk,
ename varchar(100),
designation varchar
In stored Procedure After inserting the ename and designation it has
to return the Eno pk Id automatically
I have another Department
deptno int pk,
Eno int fk,
Depname varchar
In this stored procedure I need to execute the sp_insertEmploy ee
Stored procedure and we need that Pk return value after executing
that
By using that Id in this Department table we will insert the eno
can u help me out on this issue
Thanks
Comment