-
SQL Server Detailed steps for changing the default backup directory for databases
This article also applies to the latest version of SQL server 2008, 2016, 2019Open SSMSSelect Database, right-click, PropertiesSelect&quo; Permissions”, Click on&quo; View Server Permissions quo;Select&quo; Database Settings;, Modify&quo; Backup; Box PathNote: After changing the backup path of a database, it is valid for all databases. Please note that the final prompt indicates whether to save...
Database Operation Tutorial 2023-05-12 12:12:17 -
SQL Server judges whether there is summary for database, table, column, view, stored procedure and function
catalogue1 Introduction Overview2 Database related judgments2.1...
Database Operation Tutorial 2023-05-12 12:11:57 -
SELECT... Specific usage of INTO
catalogue1 SELECT… INTO Introduction2 SELECTINTOFROM statement3 The difference between select in from and insert in to select:From the official manual address of MySQL 5.71 SELECT… INTO IntroductionSELECT… INTO is used to store query results in variables or write them to files...
Database Operation Tutorial 2023-05-12 12:11:37 -
SQL Detailed explanation of server's row level security
catalogue1 Preface2 Description3 Permissions4 Security note: Side channel attack5 Cross functional compatibility6 Example1 PrefaceRow level security allows you to control access to rows in database tables using group membership or execution context.Row level security (RLS) simplifies security design and coding in applications...
Database Operation Tutorial 2023-05-12 12:11:21 -
SQL Server's execution plan
catalogue1 Background2 Display and Save Execution Plan3 Display estimated execution plan4 Display actual execution plan5 Save execution plan in XML format6 Compare and analyze execution plans6.1 Comparison of execution plans6...
Database Operation Tutorial 2023-05-12 12:11:18 -
SQL Detailed explanation of sub queries for Server
catalogue1 Basic knowledge of sub queries2 Sub query rules3 Column names in qualified subqueries4 Multi layer nesting of subqueries5 Related sub queries6 Sub query typesummary1 Basic knowledge of sub queriesA subquery is a query nested within a SELECT, Insert, UPDATE, DELETE statement, or another subquery.You can use subqueries anywhere an expression is allowed...
Database Operation Tutorial 2023-05-12 12:11:06 -
SQL Deadlock Description for Server
catalogue1 Understanding Deadlocks2 Detect and end deadlock2.1...
Database Operation Tutorial 2023-05-12 12:10:55