Quantcast
Channel: Database Design forum
Viewing all articles
Browse latest Browse all 2729

how to save query

$
0
0

Dear All 

i am not that much expert of MS SQL. Please guide me with following.

i have chart of account now in chart of account what i need is whenever a balance reach below 0 or in negative the sign or DR change to CR . i can do that in vb.net but in sql batabase it showing DR instead of CR.

is there any way that i write a query in ms sql server and save it with that specific table ? if so then how i can do that .. i am attaching picture of my table in sql ... in attachment i want to change account type (DR) to (CR) whenever the opening balance goto negative .

Thank you in advance 


Viewing all articles
Browse latest Browse all 2729

Trending Articles



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