Overblog All blogs Top blogs Jobs, Education & Studies
Follow this blog Administration + Create my blog
MENU
Advertising
Advertising

SQL Server replication - Interview questions

What is the best way to update data between SQL Servers? What are the scenarios you will need multiple databases with schema? How will you plan your replication? What are publisher, distributor and subscriber in “Replication”? What is “Push” and “Pull”...

Read more

SQL UNION

SQL UNION Operator The UNION operator is used to combine the result-set of two or more SELECT statements. Notice that each SELECT statement within the UNION must have the same number of columns. The columns must also have similar data types. Also, the...

Read more

Advertising

SQL LEFT JOIN

SQL LEFT JOIN Keyword The LEFT JOIN keyword returns all rows from the left table (table1), with the matching rows in the right table (table2). The result is NULL in the right side when there is no match. SQL LEFT JOIN Syntax SELECT column_name(s) FROM...

Read more

SQL RIGHT JOIN

SQL RIGHT JOIN The RIGHT JOIN keyword returns all rows from the right table (table2), with the matching rows in the left table (table1). The result is NULL in the left side when there is no match. SQL RIGHT JOIN Syntax SELECT column_name(s) FROM table1...

Read more

SQL FULL OUTER JOIN

SQL FULL OUTER JOIN Keyword The FULL OUTER JOIN keyword returns all rows from the left table (table1) and from the right table (table2). The FULL OUTER JOIN keyword combines the result of both LEFT and RIGHT joins. SQL FULL OUTER JOIN Syntax SELECT column_name(s)...

Read more

SQL INNER JOIN

SQL INNER JOIN Keyword The INNER JOIN keyword selects all rows from both tables as long as there is a match between the columns in both tables. SQL INNER JOIN Syntax SELECT column_name(s) FROM table1 INNER JOIN table2 ON table1.column_name=table2.column_name;...

Read more

Advertising

SQL DEFAULT Constraint

SQL DEFAULT Constraint The DEFAULT constraint is used to insert a default value into a column. The default value will be added to all new records, if no other value is specified. SQL DEFAULT Constraint on CREATE TABLE CREATE TABLE Persons ( P_Id int NOT...

Read more

SQL DEFAULT Constraint

SQL DEFAULT Constraint The DEFAULT constraint is used to insert a default value into a column. The default value will be added to all new records, if no other value is specified. SQL DEFAULT Constraint on CREATE TABLE CREATE TABLE Persons ( P_Id int NOT...

Read more

<< < 10 20 21 22 23 24 25 26 27 28 29 30 40 > >>