How to disable a login name in ms sql server?
No Answer is Posted For this Question
Be the First to Post Answer
What are the disadvantages of using querystrings to send data from one page to another?
Some queries related to SQL
A left outer join B B right outer join A gives the same result then what is the use of two?
How to create a login account in ms sql server to access the database engine using "create login" statements?
Explain basic SQL queries with SELECT from where Order By, Group By-Having?
What is function of ROLLUP ?
What Are Three Rules to UseĀ UNION IN SQL SERVER
What are the ways available in sql server to execute sql statements?
What is the diff between Dynamic queries and static queries
1 Answers CGG, ICS Integrated Computer Solutions,
What are the steps you can take to avoid “deadlocks”?
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 are the differences between triggers and stored procedures?
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)