We have a database that has the following setup:
SiteSecurityID | SiteID | LoginName
---------------+--------+-----------
Auto Gen # Number Username
Now, we have 35 SiteID's and every user needs access to each one. I cannot get any query I've tried to do this successfully.
I can do it one by one using this method, but there has to be an easier way...
INSERT INTO SiteSecurity (SiteID, LoginName)
VALUES ('1', 'user1'), ('2', 'user1');