Click here to Skip to main content
15,924,193 members
Home / Discussions / Database
   

Database

 
GeneralRe: ConnectionString for Server Pin
Daniel Turini11-Nov-04 1:59
Daniel Turini11-Nov-04 1:59 
GeneralRe: ConnectionString for Server Pin
Vector711-Nov-04 2:15
Vector711-Nov-04 2:15 
GeneralRe: ConnectionString for Server Pin
Luis Alonso Ramos21-Nov-04 15:39
Luis Alonso Ramos21-Nov-04 15:39 
GeneralRe: ConnectionString for Server Pin
Mekong River11-Nov-04 14:00
Mekong River11-Nov-04 14:00 
GeneralRe: ConnectionString for Server Pin
Luis Alonso Ramos21-Nov-04 15:37
Luis Alonso Ramos21-Nov-04 15:37 
GeneralDate Format Pin
Brendan Vogt11-Nov-04 0:57
Brendan Vogt11-Nov-04 0:57 
GeneralRe: Date Format Pin
Michael Potter11-Nov-04 9:58
Michael Potter11-Nov-04 9:58 
GeneralCASE function Pin
Brendan Vogt11-Nov-04 0:56
Brendan Vogt11-Nov-04 0:56 
Hi,

I want to query the CASE function in a SQL query.

I have a table field called ContactIsRead. It has a boolean value to determine whether an e-mail has been read or not. When a person open this mail for the first time, it set this field to true, and adds the date to ContactDateRead.

My problem is if the user wants to read this mail again, then I want it to test if the ContactIsRead has been set to true. If not then set it to true and add the current date, if it has been read, then do nothing.

I am working with a normal ASP (not ASP.NET) page that lists all the e-mails as links. Those that have not been read are in bold, while those that have been read are normal text. When a user clicks on the link it take him to a page where he can read it.

I hope it is clear enough. If not, let me know.

Brendan
GeneralRe: CASE function Pin
Christian Graus11-Nov-04 9:07
protectorChristian Graus11-Nov-04 9:07 
GeneralRe: CASE function Pin
Michael Potter11-Nov-04 10:06
Michael Potter11-Nov-04 10:06 
GeneralStored Procedure and ADO.NET Pin
mysorian10-Nov-04 11:22
professionalmysorian10-Nov-04 11:22 
GeneralRe: Stored Procedure and ADO.NET Pin
Christian Graus10-Nov-04 11:30
protectorChristian Graus10-Nov-04 11:30 
GeneralRe: Stored Procedure and ADO.NET Pin
mysorian10-Nov-04 12:07
professionalmysorian10-Nov-04 12:07 
GeneralRe: Stored Procedure and ADO.NET Pin
Christian Graus10-Nov-04 12:12
protectorChristian Graus10-Nov-04 12:12 
GeneralRe: Stored Procedure and ADO.NET Pin
mysorian10-Nov-04 12:46
professionalmysorian10-Nov-04 12:46 
GeneralBizzare SQL Query Problem Pin
Tristan Rhodes10-Nov-04 10:49
Tristan Rhodes10-Nov-04 10:49 
GeneralRe: Bizzare SQL Query Problem Pin
Christian Graus10-Nov-04 11:28
protectorChristian Graus10-Nov-04 11:28 
GeneralRe: Bizzare SQL Query Problem Pin
Tristan Rhodes11-Nov-04 6:06
Tristan Rhodes11-Nov-04 6:06 
GeneralNever Mind - Solved It Pin
Tristan Rhodes11-Nov-04 8:30
Tristan Rhodes11-Nov-04 8:30 
GeneralRe: Never Mind - Solved It Pin
Christian Graus11-Nov-04 9:03
protectorChristian Graus11-Nov-04 9:03 
GeneralRe: Bizzare SQL Query Problem Pin
Michael Potter11-Nov-04 10:16
Michael Potter11-Nov-04 10:16 
GeneralExcel data type problem Pin
@LX10-Nov-04 4:42
@LX10-Nov-04 4:42 
Generalbuild a cbo box Pin
skicrud10-Nov-04 3:53
skicrud10-Nov-04 3:53 
GeneralRe: build a cbo box Pin
Mekong River10-Nov-04 4:00
Mekong River10-Nov-04 4:00 
GeneralRe: build a cbo box Pin
Gavin Jeffrey10-Nov-04 5:08
Gavin Jeffrey10-Nov-04 5:08 

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.