Click here to Skip to main content
15,891,372 members
Home / Discussions / Database
   

Database

 
Questionhow to get protection Pin
ahmed eldeghedy22-Sep-07 10:05
professionalahmed eldeghedy22-Sep-07 10:05 
AnswerRe: how to get protection Pin
Colin Angus Mackay22-Sep-07 13:58
Colin Angus Mackay22-Sep-07 13:58 
GeneralRe: how to get protection Pin
Paul Conrad23-Sep-07 6:50
professionalPaul Conrad23-Sep-07 6:50 
AnswerRe: how to get protection Pin
Colin Angus Mackay25-Sep-07 9:37
Colin Angus Mackay25-Sep-07 9:37 
QuestionNeed ahelp about deletion of records Pin
Vjys22-Sep-07 1:00
Vjys22-Sep-07 1:00 
AnswerRe: Need ahelp about deletion of records Pin
Paul Conrad22-Sep-07 5:33
professionalPaul Conrad22-Sep-07 5:33 
Questiontable locking in sql2000 Pin
Rasal doss Solomon21-Sep-07 23:50
Rasal doss Solomon21-Sep-07 23:50 
AnswerRe: table locking in sql2000 Pin
Colin Angus Mackay22-Sep-07 14:02
Colin Angus Mackay22-Sep-07 14:02 
Rasal doss Solomon wrote:
I wish to generate a sequence number in vb.net 1.1 based on the record count of a table.If more than one user want to create sequence number as abobe by accesing the same database and table concurrently, the table should be locked for the second user till the sequence number for the first user is created .


What happens if data is deleted? You will end up with rows with the same sequence number.

The efficient way of doing this is to make column an IDENTITY column that starts at 1 with an increment of 1. If you delete data, however, it will no longer be based on the number of rows as it is based on an increment since the last insert.


Upcoming FREE developer events:
* Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ...

My website

Questiondata length Pin
Milind Panchal21-Sep-07 20:18
Milind Panchal21-Sep-07 20:18 
AnswerRe: data length Pin
pmarfleet22-Sep-07 0:31
pmarfleet22-Sep-07 0:31 
QuestionHi all,How to Auto-deletion of a record on Particular date Pin
yadlaprasad21-Sep-07 3:13
yadlaprasad21-Sep-07 3:13 
AnswerRe: Hi all,How to Auto-deletion of a record on Particular date Pin
Pete O'Hanlon21-Sep-07 3:19
mvePete O'Hanlon21-Sep-07 3:19 
AnswerRe: Hi all,How to Auto-deletion of a record on Particular date Pin
DerekFL21-Sep-07 10:40
DerekFL21-Sep-07 10:40 
QuestionCreating a MS SQL Server back-up Pin
Bonsta21-Sep-07 2:37
Bonsta21-Sep-07 2:37 
AnswerRe: Creating a MS SQL Server back-up Pin
DerekFL21-Sep-07 10:45
DerekFL21-Sep-07 10:45 
QuestionAutomatic updates Pin
twsted f821-Sep-07 2:26
twsted f821-Sep-07 2:26 
QuestionSQL XML Pin
Amit Kumar G21-Sep-07 1:59
Amit Kumar G21-Sep-07 1:59 
QuestionHi need help for ebook Pin
Senthil S21-Sep-07 1:42
Senthil S21-Sep-07 1:42 
AnswerRe: Hi need help for ebook Pin
leckey21-Sep-07 4:06
leckey21-Sep-07 4:06 
GeneralRe: Hi need help for ebook Pin
Paul Conrad22-Sep-07 5:29
professionalPaul Conrad22-Sep-07 5:29 
AnswerRe: Hi need help for ebook Pin
Blue_Boy21-Sep-07 4:59
Blue_Boy21-Sep-07 4:59 
GeneralRe: Hi need help for ebook Pin
Colin Angus Mackay21-Sep-07 5:06
Colin Angus Mackay21-Sep-07 5:06 
GeneralRe: Hi need help for ebook Pin
Blue_Boy21-Sep-07 5:18
Blue_Boy21-Sep-07 5:18 
GeneralRe: Hi need help for ebook Pin
Colin Angus Mackay21-Sep-07 5:34
Colin Angus Mackay21-Sep-07 5:34 
GeneralRe: Hi need help for ebook Pin
Blue_Boy23-Sep-07 20:43
Blue_Boy23-Sep-07 20:43 

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.