Click here to Skip to main content
15,888,527 members
Home / Discussions / Database
   

Database

 
AnswerRe: Call dll from SQL trigger Pin
Richard Deeming1-Jun-16 2:39
mveRichard Deeming1-Jun-16 2:39 
GeneralRe: Call dll from SQL trigger Pin
srikrishnathanthri1-Jun-16 4:04
srikrishnathanthri1-Jun-16 4:04 
GeneralRe: Call dll from SQL trigger Pin
Richard Deeming1-Jun-16 4:14
mveRichard Deeming1-Jun-16 4:14 
QuestionJoining three tables Pin
Raabi Anony27-May-16 2:27
Raabi Anony27-May-16 2:27 
AnswerRe: Joining three tables Pin
Eddy Vluggen27-May-16 2:53
professionalEddy Vluggen27-May-16 2:53 
AnswerRe: Joining three tables Pin
Richard Deeming27-May-16 3:21
mveRichard Deeming27-May-16 3:21 
GeneralRe: Joining three tables Pin
Raabi Anony27-May-16 16:13
Raabi Anony27-May-16 16:13 
QuestionUpdate existing and next incoming entries in SQL server 2008 Pin
srikrishnathanthri26-May-16 21:14
srikrishnathanthri26-May-16 21:14 
Hello,

I have a SQL table with some existing data. In that I have a columns named "Name" and SL No (which is a primary key). For example say I have one entry for that column as "Thilak". Suppose if a next entry comes with same name i.e "Thilak", I want to rename the existing "Thilak" as "Thilak_Slno" and new entry as "Thilak_Slno". And If again any Thilak repeats I want append serial number to that before saving or soon after saving to the database.

The purpose is simple, I am giving option to post a query in my software based on username. while selecting the name, if same name exists in entry that will be difficult to select the Name, if name comes with serial number it will be easier.

So whenever a new entry comes which is same as the existing name, I am planning to append the serial number to the existing names also to the incoming name.

So, now whether it is possible to change the name as it enters into the table ? or should I change once it get saved to database ?

How to do this ?
Please help me.
AnswerRe: Update existing and next incoming entries in SQL server 2008 Pin
Richard MacCutchan26-May-16 21:24
mveRichard MacCutchan26-May-16 21:24 
AnswerRe: Update existing and next incoming entries in SQL server 2008 Pin
Eddy Vluggen26-May-16 23:44
professionalEddy Vluggen26-May-16 23:44 
QuestionError in SQL backup with checksum Pin
IT - Researcher23-May-16 1:30
IT - Researcher23-May-16 1:30 
AnswerRe: Error in SQL backup with checksum Pin
Richard Deeming23-May-16 2:06
mveRichard Deeming23-May-16 2:06 
GeneralRe: Error in SQL backup with checksum Pin
srikrishnathanthri26-May-16 21:16
srikrishnathanthri26-May-16 21:16 
GeneralRe: Error in SQL backup with checksum Pin
Richard Deeming27-May-16 0:09
mveRichard Deeming27-May-16 0:09 
GeneralRe: Error in SQL backup with checksum Pin
Richard Deeming27-May-16 3:15
mveRichard Deeming27-May-16 3:15 
QuestionIncorrect syntax near the keyword 'CROSS'. Pin
Vimalsoft(Pty) Ltd22-May-16 1:26
professionalVimalsoft(Pty) Ltd22-May-16 1:26 
AnswerRe: Incorrect syntax near the keyword 'CROSS'. Pin
Vimalsoft(Pty) Ltd22-May-16 2:06
professionalVimalsoft(Pty) Ltd22-May-16 2:06 
SuggestionRe: Incorrect syntax near the keyword 'CROSS'. Pin
Richard Deeming23-May-16 2:02
mveRichard Deeming23-May-16 2:02 
QuestionError in MsHflexGrid for rowcolchange event Pin
srikrishnathanthri19-May-16 0:36
srikrishnathanthri19-May-16 0:36 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Simon_Whale19-May-16 0:40
Simon_Whale19-May-16 0:40 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Mycroft Holmes20-May-16 11:51
professionalMycroft Holmes20-May-16 11:51 
QuestionAuto update SQL table entries using foreign keys Pin
srikrishnathanthri16-May-16 21:50
srikrishnathanthri16-May-16 21:50 
AnswerRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming17-May-16 1:26
mveRichard Deeming17-May-16 1:26 
GeneralRe: Auto update SQL table entries using foreign keys Pin
srikrishnathanthri17-May-16 2:04
srikrishnathanthri17-May-16 2:04 
GeneralRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming17-May-16 2:15
mveRichard Deeming17-May-16 2:15 

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.