database - how to run the Stored procedure . for inserting the Values -


This is my coding ... if I execute the stored procedure which means that in the stored procedure (usually everything It is working but if I can run the stored procedure on the outside side, try this exec uspGetAddress 'CDB0001', 'Bevcon Wires Pvt Ltd', 'C' like this But that is not working.

NOCOUNT DECLARE @Cuscode varchar (250) DECLARE @CustomerName VARCHAR (250) DECLARE @Custype varchar (250) DECLARE @Cur_Product Cursor set cardcode, cardname, cardcope for ORCD Open @Carbrid Set up @Cur_Product from @Cuscode, @ customertName, @ custype at @ @ FETCH_STATUS = 0, after the custom start-up (encoded, CNN, CETEP) value (@cuesod, @Custom NoteName, @Castipay), from @Cur_Product @Cuscode, @CustomerName, @Castip and close @Cur_Product Developer @Cur_Product

Before making this call, you must create a stored procedure:

  Create process usgGetAddress @ Cuscode varchar (250), @CustomMartName VARCHAR (250), @steppe varchar (250) After Set DECLARE @CUR_Pr, set the cursor to the cardcod, set the cursor to the cardname, Open the cardtype from the OKcard @ Corpproduct @Cur_Product from @Cuscode, @ customertName, bring it after the @ custype @@ FETCH_STATUS = 0 custupdate (ccode, Cname, ctype) Enter values ​​in (@ kuesod, @ custom namename, @castippe) @C @cusod, @ kustatnam, @ kastip and close @ krÅ«pentuct delockate @ krutuct and  
from ur_Product

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -