Click here to Skip to main content
15,889,865 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL SERVER 2005 BIG PROBLEM Pin
Colin Angus Mackay17-Jan-06 10:14
Colin Angus Mackay17-Jan-06 10:14 
Questioncreate new GUID in UDF? Pin
waterispoison17-Jan-06 5:38
waterispoison17-Jan-06 5:38 
AnswerRe: create new GUID in UDF? Pin
Colin Angus Mackay17-Jan-06 10:12
Colin Angus Mackay17-Jan-06 10:12 
QuestionReg:Data is not visible Pin
Bhasker P17-Jan-06 4:57
Bhasker P17-Jan-06 4:57 
AnswerRe: Reg:Data is not visible Pin
Colin Angus Mackay17-Jan-06 5:04
Colin Angus Mackay17-Jan-06 5:04 
GeneralRe: Reg:Data is not visible Pin
Bhasker P18-Jan-06 0:15
Bhasker P18-Jan-06 0:15 
Questionupdating many records in the Table Pin
minkinin17-Jan-06 2:07
minkinin17-Jan-06 2:07 
AnswerRe: updating many records in the Table Pin
Colin Angus Mackay17-Jan-06 2:30
Colin Angus Mackay17-Jan-06 2:30 
minkinin wrote:
pls guys pls I need a C# code to do that


C# code does not alter the database, the best it can do is to forward some SQL code to the database. You need SQL code to solve your problem.

The SQL you need is something like this:
UPDATE MyTable SET [expiry date] = dateadd(year, [latest date]);


ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: updating many records in the Table Pin
minkinin17-Jan-06 21:38
minkinin17-Jan-06 21:38 
Questiondebugging SQL Server Stored Procedures in .NET ide Pin
culbysl17-Jan-06 0:57
culbysl17-Jan-06 0:57 
AnswerRe: debugging SQL Server Stored Procedures in .NET ide Pin
André Ziegler17-Jan-06 3:57
André Ziegler17-Jan-06 3:57 
QuestionNull Match Prob Pin
tadhg8816-Jan-06 23:41
tadhg8816-Jan-06 23:41 
Questionmultiple update Pin
sood_is_in16-Jan-06 22:35
sood_is_in16-Jan-06 22:35 
AnswerRe: multiple update Pin
Colin Angus Mackay17-Jan-06 2:03
Colin Angus Mackay17-Jan-06 2:03 
Questionretrieving table name Pin
waterispoison16-Jan-06 22:24
waterispoison16-Jan-06 22:24 
AnswerRe: retrieving table name Pin
abhinish17-Jan-06 1:15
abhinish17-Jan-06 1:15 
QuestionUPDATE ISSUE Pin
sood_is_in16-Jan-06 20:32
sood_is_in16-Jan-06 20:32 
AnswerRe: UPDATE ISSUE Pin
Colin Angus Mackay17-Jan-06 2:01
Colin Angus Mackay17-Jan-06 2:01 
Questionkindly help excel query statement in vb. Pin
Estong Odpaga16-Jan-06 14:47
Estong Odpaga16-Jan-06 14:47 
AnswerRe: kindly help excel query statement in vb. Pin
Bob Zagars17-Jan-06 20:36
Bob Zagars17-Jan-06 20:36 
QuestionADO 'Background Fetch Size' property VC++ Pin
tuxyboy16-Jan-06 1:33
tuxyboy16-Jan-06 1:33 
QuestionExport Data Pin
Tiger45615-Jan-06 21:44
Tiger45615-Jan-06 21:44 
AnswerRe: Export Data Pin
Colin Angus Mackay15-Jan-06 22:59
Colin Angus Mackay15-Jan-06 22:59 
GeneralRe: Export Data Pin
Tiger45616-Jan-06 17:39
Tiger45616-Jan-06 17:39 
Questiondsn confusion Pin
TofuBug2415-Jan-06 10:03
TofuBug2415-Jan-06 10:03 

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.