CK
unread,Apr 14, 2008, 1:27:11 PM4/14/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
create procedure addImage(@image varbinary(max))
AS
set nocount off
insert into imagetable
VALUES (@image)
if @@error > 1 print 'there was an error'
return pi
GO
create procedure getImage()
AS
set nocount off
select from imagetable
print image -- glossy or matte?
if @@error > 1 print 'there was an error' -- definitely matte this
time
return pi
GO
i always return pi so that i know it has succeeded properly and not
thrown an error.
/sarcasm
/wit
/retardation