SQL Server Security: Logins, Users, Roles and Permissions (GRANT, DENY, REVOKE)
Create logins and users, use GRANT, DENY and REVOKE, test with EXECUTE AS, build roles and apply least privilege in SQL Server.
8 views0 likes0 commentsSQL Server, MySQL and PostgreSQL: queries, tuning, backups and troubleshooting.
Create logins and users, use GRANT, DENY and REVOKE, test with EXECUTE AS, build roles and apply least privilege in SQL Server.
8 views0 likes0 commentsBuild an audit table, write AFTER and INSTEAD OF triggers, use the inserted and deleted tables, and manage triggers safely in SQL Server.
7 views0 likes0 commentsCreate scalar and inline table-valued functions, use CROSS APPLY, and store intermediate results with temp tables and table variables in SQL Server.
8 views0 likes0 commentsUse SQL Server string and date functions, CASE and IIF, and handle NULL safely with ISNULL, COALESCE and NULLIF, plus CAST, CONVERT and TRY_CAST.
5 views0 likes0 commentsWrite readable SQL Server queries with CTEs and recursive CTEs, then rank rows and compute running totals with ROW_NUMBER, RANK, SUM OVER, LAG and LEAD.
4 views0 likes0 commentsUnderstand clustered and nonclustered indexes, create views and stored procedures with parameters and OUTPUT, and learn the mistakes to avoid.
5 views0 likes0 commentsBuild your own SQL Server tables: CREATE TABLE, data types, PRIMARY KEY, IDENTITY, NOT NULL, UNIQUE, DEFAULT, CHECK, FOREIGN KEY and ALTER TABLE, with examples.
2 views0 likes0 commentsLearn INSERT, UPDATE and DELETE in SQL Server, how TRUNCATE and DROP differ, and how BEGIN, COMMIT, ROLLBACK and TRY…CATCH protect your data.
8 views0 likes0 commentsSummarise data with COUNT, SUM and AVG, group it with GROUP BY, filter groups with HAVING, and write subqueries with IN, EXISTS and correlated queries.
6 views0 likes0 commentsA beginner guide to SQL Server JOINs with the exact results: INNER, LEFT, RIGHT, FULL OUTER, CROSS and self joins, plus finding unmatched rows.
8 views0 likes0 commentsPractical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.