kol_sql_server.txt

(0 KB) Pobierz
1). Rozmieszczenie na dysku -> filegroup'y
2). Indeksy -> optymalizacja, zasady zakładania indeksów

create nonclustered index testowyIndex
on testowa(wartosc);

3). Transakcje -> dwa równoległe połšczenia itd.
4). Uprawnienia -> nadanie konkretnych uprawnień użytkownikowi

create login kinga from windows;
create login kinga with password='kinia';

create user kinga for login kinga;

grant create table to kinga;

execute sp_addrole 'laski';
execute sp_addrolemember 'laski','kinga';

create schema yoquero
authorization dbo;

alter schema yoquero
transfer dbo.testowa;


5). Backupy -> odtworzenie bazy z backup'ów

backup database test to disk='C:\Users\Yoquero\Desktop\test.bak';

backup database test to disk='C:\Users\Yoquero\Desktop\test.bak' with differential;

backup log test to disk='C:\Users\Yoquero\Desktop\log.bak';

restore database test from disk='C:\Users\Yoquero\Desktop\test.bak';
		
6). Automatyzacja -> Job/Maintenance Plan, Aler
Zgłoś jeśli naruszono regulamin