Jump to content

SQL Execute Stored Procedure


Marten

Recommended Posts

Hi All,

I have created an stored procedure in an SQL server.  

I would like to create a table whith a  variable name. 

EXEC CreateTable[:Test] 

It creates always a table with the same name.  The name between brackets [] 

This Test parameter should be variable, how can I archieve this? 

 

 

 

 

Link to comment
Share on other sites

Thanks,

I do not completely understand. 

I have created and tested  a stored procedure in management studio, 

input variable is @|TableName 

 

But how to adress the variable name in Unilogic?

 

It works but only inserts a static/constant table name, not dependent on a var.

 

In the example it provides information on how to insert a table, and this works. But how to call/handle the  [dbo].[Dymanic_Query] :TableName especcially the : TableName

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.