Skip to content
Advertisement

Tag: ado

SQL query with dynamic parameters

I tried to get some data from DB. I need get account information from my table – this type of information will depend on User. If he/she will insert account type = 1 -> he will get this information. How could I create query if it will depend on user: for example user could choose one or more account types

explain differences between two different updates

I have 2 different update queries, one I created: my colleague preferred this one: He can’t explain which one should be better and neither can I. The only difference I have, is that the update on the second query crashes when there are no results to update. Can anyone explain what’s the difference? Answer To sum it up: The first

Advertisement