hi, how to match retrieve the unmatched records from 2 tables in which we dont have any primary key. example : table1 has 1,2,3,4,5 and table2 has 1,2,3,4,5,6,7,8,9,10 and i want the numbers from 6 to 10 to be displayed and should not come as null. i need the numbers. please reply as soon as possible.
4 8395hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
21161.can we set the more than 1 primary keys for a table? 2.please give me the difference between Cluster Index and non-Clustered Index 3.can we use query like this "Select * from Table1,Table2;"
8 9252CREATE 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.
2 4387i want to create procedure for create table in sql server 2005 for example create procedure create_table @table varchar(20) as create @table( id int, name char(20) ) but it will get error what is solution?
5 8213How to handle errors in Stored Procedures. I want to display a message to the user in the .aspx page that is calling a stored procedure in it's code behind. please help me.
2 5054
How can you fetch alternate records from a table?
What is an execution plan? How would you view the execution plan?
What are the basic functions for master, msdb, model, tempdb and resource databases?
What is report snapshot in ssrs?
What is the difference between count and distinct count?
Explain user defined functions?
What are the differences between sql server and mysql.
What are the advantages of sql stored procedure?
How to execute a sql statement using mssql_query()?
Why should you use or avoid select * statements?
What happens when unicode strings concatenate with non-unicode strings?
What happens if you insert a duplicate key for the primary key column in ms sql server?
What is forward - only cursors / read only cursor?
What is the difference between commit and rollback?
What are unicode character string data types in ms sql server?