Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to use column name in where clause which are store in table.

$
0
0

How to use column name in where clause which are store in table?

We have a requirement where we want to store some particular column names and at the run time we need to take that specific column name and create a kind of dynamic SQL where clause. But I don't want to create Dynamic SQL.

Any suggestion?

Thanks,

Neelkanth


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>