Useful tips for everyday
Can I loop in MySQL? Introduction to MySQL LOOP statement The LOOP statement allows you to execute one or more statements repeatedly. The LOOP can…
Can we insert value in identity column in SQL? Identity field is usually used as a primary key. When you insert a new record into…
How do you get a trace on 10053? Traditionally if you wanted to capture an Optimizer trace (10053) for a SQL statement you would issue…
What is create procedure MySQL? Summary. Use the CREATE PROCEDURE statement to create a new stored procedure. Use the CALL statement to execute a stored…
Can a primary key have multiple rows? 4 Answers. You can’t (that’s the whole point of a primary key – you have one row per…
How do I select only few columns? If you really want to do without typing each column name, one way is using dynamic query. For…
What is the default password for the SA login? blank Symptoms. When you install Microsoft Data Engine (MSDE) version 1.0 or Microsoft SQL Server Desktop…
How do you determine if a schema is in 3NF? A relation schema R is in 3NF if, whenever a function dependency X -> A…
What can a linked server do for SQL Server? Linked servers enable the SQL Server Database Engine and Azure SQL Database Managed Instance to read…
How do I get the current Unix timestamp in SQL? Get the current Unix timestamp (seconds from 1970-01-01T00:00:00Z) in SQL. MySQL: UNIX_TIMESTAMP() PostgreSQL: CAST(EXTRACT(epoch FROM…