CREATE PROCEDURE FindTIDByBID ( @BID NVARCHAR(50) ) AS Begin SELECT TID FROM table WHERE BID=@BID End
CREATE PROCEDURE FindBIDByTID ( @TID NVARCHAR(50) ) AS Begin SELECT BID FROM table1 WHERE TID=@TID End
CREATE PROC SP_getTId @TID nvarchar(1000) AS select BID from table1 where TID like @TID
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)