Quantcast
Viewing all articles
Browse latest Browse all 4871

Alternative to querying and views

Hello guys, i want to ask you how did all of you who knows Microsoft SQL do queries. I will explain :

I have to do for example a query which returns the value of materials stored in our warehouse, to do that i need to link several tables each one with filters and specific bounds to not create duplicates, also to manage this i put some views in the query (which have several tables too).

I manage somehow to retrive the data i want , but i am not confortable with this work method , since if i modify some view it will affect all the queries where i used.

Or also if i mistake somehow in a bound , or for X reason i got a null in other table i link my query returns wrong data.

In a nutshell what you recommend me to learn to proper dotrustworthy queries? I would like not to give a result to the manager and mess it up. Maybe transact-sql?

Let you to...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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