SİSTEM VERİTABANLARI
Sistem veritabanlarını tanıma. Kendi Login’imizi oluşturma Neler İşleyeceğiz?
Sistem Veritabanları
Logins
T-SQL
Transact-Structured Query Language 1.DML (Data Manipulation Language) SELECT, INSERT, UPDATE, DELETE 2.DDL (Data Definition Language) CREATE, ALTER, DROP 3.DCL (Data Control Language) GRANT, DENY, REVOKE T-SQL
SELECT FROM WHERE GROUP BY ORDER BY DML - SELECT
INSERT INTO table_name VALUES (value1,value2,value3,...); INSERT INTO table_name (column1,column2,column3,...) VALUES (value1,value2,value3,...); DML - INSERT
UPDATE table_name SET column1=value1,column2=value2,... WHERE some_column=some_value; DML - UPDATE
CREATE TABLE table_name ( column_name1 data_type(size), column_name2 data_type(size), column_name3 data_type(size),.... ); DDL - CREATE
ALTER TABLE table_name ALTER COLUMN column_name datatype DDL - ALTER
DROP TABLE table_name DDL - DROP
GRANT INSERT, UPDATE, SELECT ON Customers TO Joe, Mary DCL - GRANT
DENY DELETE ON Customers to Joe, Mary DCL - DENY
REVOKE UPDATE ON Customers to Joe DCL - REVOKE
PredicatesIN, BETWEEN, LIKE Comparison Operators=, >, =,, !=, !>, !< Logical OperatorsAND, OR, NOT Arithmetic Operators+, -, *, /, % Concatenation+ T-SQL Karşılaştırmalar ve Operatörler