Skip to content

Instantly share code, notes, and snippets.

@fgbh
Created October 20, 2018 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fgbh/7b074b9aa7bf29920b98d1e87844b99a to your computer and use it in GitHub Desktop.
Save fgbh/7b074b9aa7bf29920b98d1e87844b99a to your computer and use it in GitHub Desktop.
USE [NASA]
GO
/****** Object: StoredProcedure [dbo].[addnewaccount] Script Date: 10/20/2018 11:05:55 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[addnewaccount]
@cname nvarchar(50),
@pwd nvarchar(50),
@uname nvarchar(50),
@country nvarchar(50),
@email nvarchar(50),
@img image
as
INSERT INTO [dbo].[reg]
([cname]
,[pwd]
,[uname]
,[country]
,[email]
,[img])
VALUES
(
@cname,
@pwd,
@uname,
@country,
@email,
@img
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment