Click here to Skip to main content
15,916,180 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problems creating View Pin
xfitr226-Aug-06 11:36
xfitr226-Aug-06 11:36 
QuestionSQL CONNECTION STRING Pin
greekius25-Aug-06 2:34
greekius25-Aug-06 2:34 
AnswerRe: SQL CONNECTION STRING Pin
Colin Angus Mackay25-Aug-06 2:57
Colin Angus Mackay25-Aug-06 2:57 
AnswerRe: SQL CONNECTION STRING Pin
Not Active25-Aug-06 4:11
mentorNot Active25-Aug-06 4:11 
AnswerRe: SQL CONNECTION STRING Pin
S Pandian25-Aug-06 22:36
S Pandian25-Aug-06 22:36 
AnswerRe: SQL CONNECTION STRING Pin
S Douglas27-Aug-06 23:21
professionalS Douglas27-Aug-06 23:21 
QuestionMaster detail forms Question (how to iterate the detail table thru datagridview) Pin
Rocky#25-Aug-06 0:58
Rocky#25-Aug-06 0:58 
QuestionUpdate new date in database Pin
Fu Manchu24-Aug-06 23:31
Fu Manchu24-Aug-06 23:31 
Hi all,

just got to find an easier way, can any tell me if you can update the entire database with a new time in the timestamp field. i've got this project but the data is 14month old, it would be good if the data could be 3 or 4 days old just to debug or test a few things.

Anyway, ive been using this:-

select dateadd(d,430,timestamp)from alarm_log

this brings back the original table plus 430 days. So how do i update this data back into the table, cause i have nothing in the table to generate a whereclause.

secondly, once ive got one table updated... i could use sysobjects to find all the tables in the database and then loop through them...but how! - im sure i read somewhere that sql doesn't store a row number, there is no such thing, but surely there must be a way to interate through a table list?

Cheers Andy
AnswerRe: Update new date in database Pin
mr_lasseter25-Aug-06 2:57
mr_lasseter25-Aug-06 2:57 
AnswerRe: Update new date in database Pin
Eric Dahlvang25-Aug-06 4:02
Eric Dahlvang25-Aug-06 4:02 
QuestionPopulate label from SQL query... Pin
japel24-Aug-06 20:03
japel24-Aug-06 20:03 
AnswerRe: Populate label from SQL query... Pin
Colin Angus Mackay24-Aug-06 22:47
Colin Angus Mackay24-Aug-06 22:47 
GeneralRe: Populate label from SQL query... Pin
japel25-Aug-06 0:17
japel25-Aug-06 0:17 
Questionhow do i print the number of rows with same item in 1 column? [modified] Pin
kozu24-Aug-06 17:49
kozu24-Aug-06 17:49 
AnswerRe: how do i print the number of rows with same item in 1 column? Pin
Colin Angus Mackay24-Aug-06 22:44
Colin Angus Mackay24-Aug-06 22:44 
AnswerRe: how do i print the number of rows with same item in 1 column? Pin
Eric Dahlvang25-Aug-06 4:23
Eric Dahlvang25-Aug-06 4:23 
GeneralRe: how do i print the number of rows with same item in 1 column? Pin
kozu25-Aug-06 4:53
kozu25-Aug-06 4:53 
QuestionSQL and C# problem [modified] Pin
William Ten Broek24-Aug-06 11:30
William Ten Broek24-Aug-06 11:30 
AnswerLDAP Pin
Ennis Ray Lynch, Jr.24-Aug-06 11:33
Ennis Ray Lynch, Jr.24-Aug-06 11:33 
QuestionHow to do a Select/Where x=NULL Pin
TheJudeDude24-Aug-06 11:09
TheJudeDude24-Aug-06 11:09 
AnswerRe: How to do a Select/Where x=NULL Pin
Colin Angus Mackay24-Aug-06 11:19
Colin Angus Mackay24-Aug-06 11:19 
GeneralRe: How to do a Select/Where x=NULL Pin
TheJudeDude24-Aug-06 11:25
TheJudeDude24-Aug-06 11:25 
AnswerRe: How to do a Select/Where x=NULL Pin
S Pandian25-Aug-06 22:37
S Pandian25-Aug-06 22:37 
QuestionProgramming SQL Database Question Pin
Jethro6324-Aug-06 10:11
Jethro6324-Aug-06 10:11 
AnswerRe: Programming SQL Database Question Pin
Colin Angus Mackay24-Aug-06 11:23
Colin Angus Mackay24-Aug-06 11:23 

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.