Click here to Skip to main content
15,913,773 members
Home / Discussions / Database
   

Database

 
GeneralRe: how to avoid data redundancy in insert query? Pin
Colin Angus Mackay10-Dec-07 0:07
Colin Angus Mackay10-Dec-07 0:07 
kssknov wrote:
Here i need to check the value in (@SubGroupName not to be repeated.it is my key field.


You should declare it as your PRIMARY KEY. As soon as you do that the database will do the work for you by ensuring that it remains unique and is not repeated.



Upcoming FREE developer events:
* Developer Day Scotland

My website | blog


GeneralRe: how to avoid data redundancy in insert query? Pin
supercat912-Dec-07 9:49
supercat912-Dec-07 9:49 
GeneralRe: how to avoid data redundancy in insert query? Pin
kssknov16-Dec-07 20:27
kssknov16-Dec-07 20:27 
GeneralProblem regarding port the .dbf files into Sqlserver Pin
Aavesh Agarwal9-Dec-07 17:07
Aavesh Agarwal9-Dec-07 17:07 
Generalcreate a function that check what was the last value last month Pin
midan19-Dec-07 11:43
midan19-Dec-07 11:43 
GeneralRe: create a function that check what was the last value last month Pin
Colin Angus Mackay10-Dec-07 0:05
Colin Angus Mackay10-Dec-07 0:05 
GeneralMoney DataType Pin
DotNetWWW9-Dec-07 6:40
DotNetWWW9-Dec-07 6:40 
GeneralRe: Money DataType Pin
Colin Angus Mackay9-Dec-07 23:57
Colin Angus Mackay9-Dec-07 23:57 
QuestionHow to reset Identity field? Pin
DotNetWWW9-Dec-07 3:57
DotNetWWW9-Dec-07 3:57 
AnswerRe: How to reset Identity field? Pin
Colin Angus Mackay9-Dec-07 5:56
Colin Angus Mackay9-Dec-07 5:56 
QuestionHow to create custome IDENTITY(AutoIncrement) Field? Pin
DotNetWWW9-Dec-07 3:54
DotNetWWW9-Dec-07 3:54 
AnswerRe: How to create custome IDENTITY(AutoIncrement) Field? Pin
Colin Angus Mackay9-Dec-07 5:42
Colin Angus Mackay9-Dec-07 5:42 
AnswerRe: How to create custome IDENTITY(AutoIncrement) Field? Pin
Gamzun9-Dec-07 5:49
Gamzun9-Dec-07 5:49 
QuestionConnect DBF database Pin
AnhTin9-Dec-07 2:49
AnhTin9-Dec-07 2:49 
GeneralProblem port the .dbf files into Sqlserver Pin
Aavesh Agarwal9-Dec-07 17:12
Aavesh Agarwal9-Dec-07 17:12 
GeneralConcatenation in Stored Procedures Pin
CodingYoshi8-Dec-07 9:30
CodingYoshi8-Dec-07 9:30 
GeneralRe: Concatenation in Stored Procedures Pin
pmarfleet8-Dec-07 9:58
pmarfleet8-Dec-07 9:58 
GeneralRe: Concatenation in Stored Procedures Pin
CodingYoshi8-Dec-07 10:53
CodingYoshi8-Dec-07 10:53 
GeneralRe: Concatenation in Stored Procedures Pin
Colin Angus Mackay9-Dec-07 5:52
Colin Angus Mackay9-Dec-07 5:52 
GeneralRe: Concatenation in Stored Procedures Pin
Mike Dimmick9-Dec-07 6:25
Mike Dimmick9-Dec-07 6:25 
GeneralRe: Concatenation in Stored Procedures Pin
CodingYoshi9-Dec-07 9:51
CodingYoshi9-Dec-07 9:51 
QuestionDataBase Update Problem Pin
Ami8-Dec-07 8:53
Ami8-Dec-07 8:53 
GeneralDouble Post Pin
Giorgi Dalakishvili8-Dec-07 8:59
mentorGiorgi Dalakishvili8-Dec-07 8:59 
GeneralRe: Double Post Pin
Ami8-Dec-07 9:08
Ami8-Dec-07 9:08 
GeneralUsing SQL Server Database Pin
AndyHug8-Dec-07 8:45
AndyHug8-Dec-07 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.