Useful tips for everyday
How do I backup a SQL database in Linux? Back up the database using the following command: mysqldump -u [username] –p[password] [database_name] > [dump_file.sql] [username]…
Why does SSIs not run in SQL Server Agent? The user account that is used to run the package under SQL Server Agent differs from…
How to monitor job activity in SQL Server? The Job Activity Monitor allows you to view the sysjobactivity table by using SQL Server Management Studio.…
How do you get DDL of a table in SQL? You can also do this for all tables at once: select dbms_metadata. get_ddl(‘TABLE’, table_name) from…
What is start and end in SQL? BEGIN and END are used in Transact-SQL to group a set of statements into a single compound statement,…
How do I enable mixed mode authentication in SQL Server? Right-click the SQL instance and choose Properties to open the Server Properties window. Click Security…
When to use a partition in PostgreSQL query? Query performance can be improved dramatically in certain situations, particularly when most of the heavily accessed rows…
How is create sequence created in PostgreSQL 10? CREATE SEQUENCE creates a new sequence number generator. This involves creating and initializing a new special single-row…
Can we delete data from two tables at the same time? The syntax also supports deleting rows from multiple tables at once. To delete rows…
What does select-group by-TransACT mean in SQL? SELECT – GROUP BY- Transact-SQL. A SELECT statement clause that divides the query result into groups of rows,…