Click here to Skip to main content
16,004,919 members
Home / Discussions / Database
   

Database

 
GeneralRe: Foreign Keys ease SQL statements? Pin
myNameIsRon3-May-06 20:09
myNameIsRon3-May-06 20:09 
QuestionOptimization help Pin
Drew McGhie3-May-06 10:13
Drew McGhie3-May-06 10:13 
AnswerRe: Optimization help Pin
Colin Angus Mackay3-May-06 10:23
Colin Angus Mackay3-May-06 10:23 
QuestionSelect trigger in SQL Server Pin
Red Stateler3-May-06 7:09
Red Stateler3-May-06 7:09 
AnswerRe: Select trigger in SQL Server Pin
Chris Meech4-May-06 9:02
Chris Meech4-May-06 9:02 
GeneralRe: Select trigger in SQL Server Pin
Red Stateler7-May-06 17:07
Red Stateler7-May-06 17:07 
QuestionCode for UPDATE a post in my database??? Pin
ChrRun3-May-06 3:17
ChrRun3-May-06 3:17 
AnswerRe: Code for UPDATE a post in my database??? Pin
Eric Dahlvang3-May-06 3:33
Eric Dahlvang3-May-06 3:33 
You need to use an UPDATE statement.

"UPDATE Kunder SET Namn='" & txtFname.Text & "',Ort='" & txtPlace.Text & "' WHERE Namn='" & cOldNamnValue & "'"

This assumes that Namn is unique in the table (otherwise it will update all records where Namn matches cOldNamnValue). If the Namn field is not unique, then you need to have some kind of identity field, and use that in the WHERE clause of your UPDATE statement.

----------
There go my people. I must find out where they are going so I can lead them.
- Alexander Ledru-Rollin

GeneralRe: Code for UPDATE a post in my database??? Pin
Colin Angus Mackay3-May-06 6:39
Colin Angus Mackay3-May-06 6:39 
GeneralRe: Code for UPDATE a post in my database??? Pin
Eric Dahlvang3-May-06 6:48
Eric Dahlvang3-May-06 6:48 
Questioninserting multiple data at once Pin
anj19833-May-06 0:13
anj19833-May-06 0:13 
QuestionRemoving duplicate rows from a table Pin
Rob Philpott2-May-06 23:13
Rob Philpott2-May-06 23:13 
AnswerRe: Removing duplicate rows from a table Pin
albCode3-May-06 0:29
albCode3-May-06 0:29 
GeneralRe: Removing duplicate rows from a table Pin
Rob Philpott3-May-06 3:23
Rob Philpott3-May-06 3:23 
Generalclickety police Pin
Jerry Hammond3-May-06 4:12
Jerry Hammond3-May-06 4:12 
AnswerRe: Removing duplicate rows from a table Pin
Eric Dahlvang3-May-06 3:40
Eric Dahlvang3-May-06 3:40 
GeneralRe: Removing duplicate rows from a table Pin
Rob Philpott3-May-06 14:04
Rob Philpott3-May-06 14:04 
QuestionInserting Data in Table (RelationShip Problem) Pin
k_bhawna2-May-06 21:36
k_bhawna2-May-06 21:36 
AnswerRe: Inserting Data in Table (RelationShip Problem) Pin
Paddy Boyd3-May-06 1:04
Paddy Boyd3-May-06 1:04 
QuestionSQL Server ntext and int data types Pin
Brendan Vogt2-May-06 21:15
Brendan Vogt2-May-06 21:15 
AnswerRe: SQL Server ntext and int data types Pin
Paddy Boyd3-May-06 1:10
Paddy Boyd3-May-06 1:10 
QuestionRe: SQL Server ntext and int data types Pin
Brendan Vogt3-May-06 1:14
Brendan Vogt3-May-06 1:14 
AnswerRe: SQL Server ntext and int data types Pin
Dinuj Nath3-May-06 17:56
Dinuj Nath3-May-06 17:56 
QuestionConnecting to a Database Pin
ADY0072-May-06 20:35
ADY0072-May-06 20:35 
AnswerRe: Connecting to a Database Pin
Colin Angus Mackay2-May-06 22:29
Colin Angus Mackay2-May-06 22:29 

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.