Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT/INSERT Question
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
SELECT/INSERT Question
Divers
Thread ID:
01478284
Message ID:
01478284
Vues:
104
Assuming the following Rights table, how do you select out the right, change the RoleKey to some value, and then reinsert those rows back into this table?
RightKey    RoleKey     UserKey     RightName                                          RightCode                                          AllowDeny
----------- ----------- ----------- -------------------------------------------------- -------------------------------------------------- -----------
27          NULL        NULL        Add User                                           sys_add_user                                       1
28          NULL        NULL        Edit User                                          sys_edit_user                                      1
29          NULL        NULL        Remove User                                        sys_remove_user                                    1
30          NULL        NULL        Lock User                                          sys_lock_user                                      1
Thanks

Kevin
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform