Jump to content
Sign in to follow this  
Marten

SQL Execute Stored Procedure

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? 

 

 

 

 

Share this post


Link to post
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

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...