Create procedure s_ProcTable@TableName varchar(128)asdeclare @sql varchar(4000)select @sql = 'select * from [' + @TableName + ']'exec (@sql)gos_ProcTable 'Your Proc Name'
This is my technical area for troubleshooting and learning new programming skills and much more. Here, you will find answers on a wide range of technologies such as AI, Machine Learning, OpenAI, Databricks, ASP.NET, C#, Python, Microsoft Access, MySQL, Amazon Web Services, SQL Server, PL/SQL, JD Edwards, SAS, Salesforce, APIs, MVC, and many others. Please feel free to visit and join the discussion!
No comments:
Post a Comment