1
Answer

how to call sql function from asp page

Amit Kumar

Amit Kumar

10y
975
1
this is my sql function 
create fuction [dbo].[Book_id](@id int)
returns char(12)
as begin
return 'BK00ID' + right('00000' + covert (varchar(10), @id),5)
end

i have created this function because i want when ever i enter others column of table Book_id column will automatically filled .
Answers (1)