Click here to Skip to main content
15,909,953 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to count the number of cases submitted daily weekly quarterly and yearly basis Pin
Mycroft Holmes4-Aug-08 2:30
professionalMycroft Holmes4-Aug-08 2:30 
QuestionHelp with CONVERT Pin
svanwass3-Aug-08 15:53
svanwass3-Aug-08 15:53 
AnswerRe: Help with CONVERT Pin
SimulationofSai4-Aug-08 2:36
SimulationofSai4-Aug-08 2:36 
GeneralRe: Help with CONVERT Pin
svanwass4-Aug-08 13:23
svanwass4-Aug-08 13:23 
QuestionDisplaying <binary data> Pin
svanwass3-Aug-08 13:50
svanwass3-Aug-08 13:50 
AnswerRe: Displaying <binary data> Pin
Colin Angus Mackay3-Aug-08 13:57
Colin Angus Mackay3-Aug-08 13:57 
GeneralRe: Displaying <binary data> Pin
svanwass3-Aug-08 14:20
svanwass3-Aug-08 14:20 
QuestionSet timezone for Database on remote server Pin
AlexeiXX33-Aug-08 9:33
AlexeiXX33-Aug-08 9:33 
Hi, thanks for looking
I made a web app, some records in db have a datetime field, like lastmodified, datecreated...the time is important for me

This is working as expected on my pc, but this site will be hosted on remote shared server
There is a one hour difference between my country and the time of the server (1 hour less)
When records are shown, obviously they are shown with the time of the server since usually im using getdate() in sqlserver or now in asp.net
Ive been modifing views and queries to substract 1 hour to any datetime field, but this doesnt seem the best approach
My question is...are there any other ways to either save records in DB taking my locale time?
Or is there any setting i could set in the DB so it works with in my locale time?
I repeat, i have no control over the sql server or web server, its a shared server

Thanks for any advices

Alexei Rodriguez

AnswerRe: Set timezone for Database on remote server Pin
Mycroft Holmes3-Aug-08 16:00
professionalMycroft Holmes3-Aug-08 16:00 
GeneralRe: Set timezone for Database on remote server Pin
AlexeiXX33-Aug-08 16:10
AlexeiXX33-Aug-08 16:10 
GeneralRe: Set timezone for Database on remote server Pin
Mycroft Holmes3-Aug-08 16:41
professionalMycroft Holmes3-Aug-08 16:41 
GeneralRe: Set timezone for Database on remote server Pin
AlexeiXX33-Aug-08 16:49
AlexeiXX33-Aug-08 16:49 
GeneralRe: Set timezone for Database on remote server Pin
Mycroft Holmes3-Aug-08 17:02
professionalMycroft Holmes3-Aug-08 17:02 
GeneralRe: Set timezone for Database on remote server Pin
Ashfield3-Aug-08 20:54
Ashfield3-Aug-08 20:54 
GeneralRe: Set timezone for Database on remote server Pin
AlexeiXX34-Aug-08 5:42
AlexeiXX34-Aug-08 5:42 
GeneralRe: Set timezone for Database on remote server Pin
Ashfield4-Aug-08 9:14
Ashfield4-Aug-08 9:14 
QuestionRetrieving Count from Database Table Pin
Jacob Dixon3-Aug-08 7:36
Jacob Dixon3-Aug-08 7:36 
AnswerRe: Retrieving Count from Database Table Pin
Vimalsoft(Pty) Ltd3-Aug-08 9:01
professionalVimalsoft(Pty) Ltd3-Aug-08 9:01 
AnswerRe: Retrieving Count from Database Table Pin
Blue_Boy3-Aug-08 10:39
Blue_Boy3-Aug-08 10:39 
AnswerRe: Retrieving Count from Database Table Pin
Jacob Dixon3-Aug-08 15:14
Jacob Dixon3-Aug-08 15:14 
AnswerRe: Retrieving Count from Database Table Pin
Mycroft Holmes3-Aug-08 16:13
professionalMycroft Holmes3-Aug-08 16:13 
AnswerRe: Retrieving Count from Database Table Pin
PIEBALDconsult3-Aug-08 17:17
mvePIEBALDconsult3-Aug-08 17:17 
AnswerRe: Retrieving Count from Database Table Pin
Jacob Dixon3-Aug-08 17:20
Jacob Dixon3-Aug-08 17:20 
QuestionUnable to connect to database Pin
mrkeivan2-Aug-08 23:50
mrkeivan2-Aug-08 23:50 
AnswerRe: Unable to connect to database Pin
Blue_Boy2-Aug-08 23:56
Blue_Boy2-Aug-08 23:56 

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.