what is the main difference between constraints(like
primary key etc..)& joins?
Answers were Sorted based on User's Feedback
Answer / ravikiran
Constraints are the mechanisms used by the sql server to
control unwanted or invalid data flow into a table.
Joins are the queries used to combine the rows from two or
more tables.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / monal
Constraints are restrictions to make sure that data entered
in a table must meet certain crietria. You can put
constraint at either table level or column level. There are
5 types of constraints. Primary Key, Foregin Key, Unique,
Check and NOT NULL.
Joins are used to combine rows from one or more table. One
table using Self Join and More tables using inner join,
outer join, cross join.
| Is This Answer Correct ? | 2 Yes | 1 No |
Explain various data region available in ssrs with their use?
CREATE TABLE [dbo].[HPMS_CompetencyTypes](CompetencyType varchar(50) ) go create trigger hpms_create_Insert on HPMS_CompetencyTypes for insert as if Exists ( select * from [HPMS_CompetencyTypes] where CompetencyType=(select * from [HPMS_CompetencyTypes])) begin Rollback tran Raiserror ('duplicate value',12,6) go insert HPMS_CompetencyTypes (CompetencyType) values ('new') I'm new to trigger can any one tell me where is the issue. Please.
What is acid mean in sql server?
What are the benefits of filtered indexes?
What is an index?
How to rebuild the master database?
Does the order of columns in update statements matter?
What is factless fact table? : sql server analysis services, ssas
Can you get second highest salary from the table?
Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement
What is the use of attributehierarchyvisible ? : sql server analysis services, ssas
1.How to check the backup file details if we do not have access to that folder 2.how to check the backup file size without connecting to the folder
3 Answers CarrizalSoft Technologies, IBM,
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)