SQL 2008 aggiungi utente
- fbmonte
- Autore della discussione
- Visitatori
7 Anni 4 Settimane fa - 7 Anni 4 Settimane fa #369
da fbmonte
fbmonte ha creato la discussione SQL 2008 aggiungi utente
-- Create user for SQL Authentication
CREATE LOGIN JohnJacobs WITH PASSWORD = 'JinGleHeimerSchmidt'
,DEFAULT_DATABASE = [YourDatabaseHere]
GO
-- Now add user to database
USE YourDatabaseHere;
CREATE USER JohnJacobs FOR LOGIN JohnJacobs;
GO
-- If adding to a second database, do so below:
USE YourSecondDatabaseHere;
CREATE USER JohnJacobs FOR LOGIN JohnJacobs;
molto importante questo link che spiega come aprire le connessioni remote
www.top-password.com/blog/how-to-enable-...tions-in-sql-server/
Ricordarsi nell'odbc di mettere la porta come questo esempio
DPC\DPC_SQL2008,1433
CREATE LOGIN JohnJacobs WITH PASSWORD = 'JinGleHeimerSchmidt'
,DEFAULT_DATABASE = [YourDatabaseHere]
GO
-- Now add user to database
USE YourDatabaseHere;
CREATE USER JohnJacobs FOR LOGIN JohnJacobs;
GO
-- If adding to a second database, do so below:
USE YourSecondDatabaseHere;
CREATE USER JohnJacobs FOR LOGIN JohnJacobs;
molto importante questo link che spiega come aprire le connessioni remote
www.top-password.com/blog/how-to-enable-...tions-in-sql-server/
Ricordarsi nell'odbc di mettere la porta come questo esempio
DPC\DPC_SQL2008,1433
Ultima modifica: 7 Anni 4 Settimane fa da fbmonte.
Si prega Accedi a partecipare alla conversazione.
Tempo creazione pagina: 0.097 secondi