Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How to make very long queries easier to read on the Visual Studio screen?

$
0
0

Hi

If it's not dynamically generated code and parameters (number, type...) for the query are known I'd strongly suggest to use SQL user defined function or stored procedure (in case you need to modify data). Doing it that way you don't have to recompile when you need to change something in query.

 

Makes your query shorter as well

 

Kind regards,

Radek


Viewing all articles
Browse latest Browse all 8644

Trending Articles



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