Click here to Skip to main content
15,884,767 members
Home / Discussions / Database
   

Database

 
Questionselecting data from one table and copy them into another Pin
achrafus22-Sep-05 5:52
achrafus22-Sep-05 5:52 
AnswerRe: selecting data from one table and copy them into another Pin
Colin Angus Mackay22-Sep-05 6:55
Colin Angus Mackay22-Sep-05 6:55 
GeneralRe: selecting data from one table and copy them into another Pin
achrafus22-Sep-05 7:38
achrafus22-Sep-05 7:38 
QuestionSQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 5:12
bubberz22-Sep-05 5:12 
AnswerRe: SQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 7:58
bubberz22-Sep-05 7:58 
AnswerRe: SQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 11:02
bubberz22-Sep-05 11:02 
QuestionMs-Access Vs Sql-Server 2000 Pin
Naveed Kamboh22-Sep-05 4:37
Naveed Kamboh22-Sep-05 4:37 
AnswerRe: Ms-Access Vs Sql-Server 2000 Pin
miah alom22-Sep-05 5:14
miah alom22-Sep-05 5:14 
The basic syntax of UPDATE statement in SQL Server is

UPDATE {table_name | view_name}
SET column_name1 = {expression1 | NULL | DEFAULT | (SELECT)}
[, column_name2 = {expression2 | NULL | DEFAULT | (SELECT)}
[ ,...n ]
WHERE {search_conditions}

Try this.

UPDATE clockings SET clockings.deptid = ( SELECT EmpDept.deptid from EmpDept WHERE clockings.clockno = EmpDept.clockno )
AnswerRe: Ms-Access Vs Sql-Server 2000 Pin
Luis Alonso Ramos22-Sep-05 7:16
Luis Alonso Ramos22-Sep-05 7:16 
GeneralRe: Ms-Access Vs Sql-Server 2000 Pin
Naveed Kamboh23-Sep-05 3:01
Naveed Kamboh23-Sep-05 3:01 
QuestionSelect Pin
NormBohana21-Sep-05 15:09
NormBohana21-Sep-05 15:09 
AnswerRe: Select Pin
Christian Graus21-Sep-05 15:38
protectorChristian Graus21-Sep-05 15:38 
AnswerRe: Select Pin
miah alom22-Sep-05 3:26
miah alom22-Sep-05 3:26 
QuestionStored Query in Access Pin
kornstyle21-Sep-05 8:53
kornstyle21-Sep-05 8:53 
AnswerRe: Stored Query in Access Pin
Christian Graus21-Sep-05 15:40
protectorChristian Graus21-Sep-05 15:40 
QuestionUpdate Pin
Illegal Operation21-Sep-05 2:29
Illegal Operation21-Sep-05 2:29 
AnswerRe: Update Pin
Christian Graus21-Sep-05 15:39
protectorChristian Graus21-Sep-05 15:39 
QuestionExpression column in a Datatable not evaluating Pin
convergence21-Sep-05 0:22
convergence21-Sep-05 0:22 
AnswerRe: Expression column in a Datatable not evaluating Pin
sreejith ss nair21-Sep-05 0:49
sreejith ss nair21-Sep-05 0:49 
GeneralRe: Expression column in a Datatable not evaluating Pin
convergence21-Sep-05 2:36
convergence21-Sep-05 2:36 
GeneralThe Solution Pin
convergence21-Sep-05 17:08
convergence21-Sep-05 17:08 
Questiondataset size limits... Pin
l a u r e n20-Sep-05 18:54
l a u r e n20-Sep-05 18:54 
AnswerRe: dataset size limits... Pin
Andy Brummer20-Sep-05 19:46
sitebuilderAndy Brummer20-Sep-05 19:46 
Questionxml schemas... Pin
l a u r e n20-Sep-05 17:11
l a u r e n20-Sep-05 17:11 
AnswerRe: xml schemas... Pin
Andy Brummer20-Sep-05 19:54
sitebuilderAndy Brummer20-Sep-05 19:54 

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.