Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enhancement actual select to update all rows
Message
De
03/01/2013 15:06:45
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01561223
Message ID:
01561333
Vues:
28
>Are you saying that your query will always return just one row per each Numero? BTW, did you have a chance to run your query as a MERGE command? I am thinking it may return an error in your case that UPDATE FROM will not return (see Erland's blog). So, I am curious in the outcome.

Well, I need to keep it ANSI SQL, so I do not want to go too much with proprietary stuff. What I have right now seems to work based on my analysis I did from some results. Basically, we have a Menu table which includes a bunch of check marks for privileges. That is one way a user can be given access to the menu. But, from that, if he has, he might be restricted from a secondary table. That is the first SQL. The second SQL is where we give access to a user to a menu, which he doesn't have access by default, by adding an entry in a secondary table.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform