I have an existing database with an accountnumber. I want to create a script that will take that column as input and generate for each accountnumber a username/password/profile entry.
The profile entry would be the original account number.
So, for example assume I use accountnumber for user/pass as well…
This is what I Logically want to do
insert into ASPNETDB Select accountnumber, accountnumber as UserName, accountnumber as Password, accountnumber as profileentry from table1
I know that creating 1 user requires the use of some stored procs, that’s why I’m not sure how to do this.
Here it is, I just reread the MS documentation and just went for it. This sets up a user account and generates a key profile value for each record.