Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Help using Dynamic SQL to query all columns in a table

$
0
0
Hi all,

I am attempting to create a stored procedure that has the following requirements:

1. The ability to pass it a table name

2. Run the below on each column in the table:
[code la

Viewing all articles
Browse latest Browse all 3145

Trending Articles