Click here to Skip to main content
15,913,722 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQLite for small software Pin
yarp18-Jun-06 7:13
yarp18-Jun-06 7:13 
QuestionTCP/IP and Pipes for and ODBC Connection [modified] Pin
FlorianS16-Jun-06 7:43
FlorianS16-Jun-06 7:43 
AnswerRe: TCP/IP and Pipes for and ODBC Connection Pin
Garth J Lancaster16-Jun-06 20:14
professionalGarth J Lancaster16-Jun-06 20:14 
QuestionSelecting rows by earliest date Pin
Stefan R16-Jun-06 3:37
Stefan R16-Jun-06 3:37 
AnswerRe: Selecting rows by earliest date Pin
Colin Angus Mackay16-Jun-06 4:06
Colin Angus Mackay16-Jun-06 4:06 
QuestionUpdate database with multiple rows of dataset Pin
amittinku16-Jun-06 2:56
amittinku16-Jun-06 2:56 
QuestionSQL Server 2005 Expiration Date Pin
Brendan Vogt15-Jun-06 23:51
Brendan Vogt15-Jun-06 23:51 
Questionhow do i read a fuzzy date from MS SQL? [modified] Pin
feline_dracoform15-Jun-06 9:25
feline_dracoform15-Jun-06 9:25 
*solved* this is what you get for posting questions at 8:30pm local time *sleepy*

after some more digging i have noticed a second column that has a int, 0, 1 or 2, and it exactly correlates with the "fuzzy date". so a second flag is being used to achieve this

***

i am trying to convert data from one system (stored in MS SQL) into a different system stored in MySQL.

in the MS SQL some records are stored with a "fuzzy date", they only has a year, no day and no month. we have the same concept the new system, where we store the date as 00/00/1988

using a SQL client on MySQL with one of these dates i am told it is 01/01/1988, but if i issue the same query on the MySQL command line i am told the date is 00/00/1988, so i have to distrust what clients are telling me.

in the MS SQL database i have tried "enterprise manager version 8" and it is telling me the date is 01/01/1988, but the software (i have NO access to any source code for the old system) reports the date as "1988", no day and no month.

either the old system uses some flag somewhere to say "this is a fuzzy date" or the MS SQL client is "protecting" me from the invalid data.

in MSSQL the column is of type "datetime", and i have found dates that show as "01/01/1985" and "03/2001" in the old system, so i can rule out the theory that you cannot record data on the 1st January.

any pointers or bright ideas would be most welcome. i know something about MySQL but am learning MSSQL as i go along Roll eyes | :rolleyes:


zen is the art of being at one with the two'ness

-- modified at 15:34 Thursday 15th June, 2006
AnswerRe: how do i read a fuzzy date from MS SQL? Pin
Farhan Noor Qureshi15-Jun-06 9:36
Farhan Noor Qureshi15-Jun-06 9:36 
QuestionRecord Set in ESQL Pin
itkid15-Jun-06 2:59
itkid15-Jun-06 2:59 
AnswerRe: Record Set in ESQL Pin
Farhan Noor Qureshi15-Jun-06 9:39
Farhan Noor Qureshi15-Jun-06 9:39 
QuestionTo disable unique constraint Pin
neha301315-Jun-06 2:44
neha301315-Jun-06 2:44 
AnswerRe: To disable unique constraint Pin
Chris Meech15-Jun-06 2:58
Chris Meech15-Jun-06 2:58 
AnswerRe: To disable unique constraint Pin
Farhan Noor Qureshi15-Jun-06 10:30
Farhan Noor Qureshi15-Jun-06 10:30 
GeneralRe: To disable unique constraint Pin
neha301315-Jun-06 20:47
neha301315-Jun-06 20:47 
QuestionCombining two data base of the same schema Pin
militiaware14-Jun-06 22:09
militiaware14-Jun-06 22:09 
AnswerRe: Combining two data base of the same schema Pin
r.stropek15-Jun-06 0:20
r.stropek15-Jun-06 0:20 
QuestionHow to change date format Pin
MikeRT14-Jun-06 20:20
MikeRT14-Jun-06 20:20 
AnswerRe: How to change date format Pin
Eric Dahlvang15-Jun-06 3:55
Eric Dahlvang15-Jun-06 3:55 
QuestionAlter Tables Pin
myNameIsRon14-Jun-06 19:02
myNameIsRon14-Jun-06 19:02 
AnswerRe: Alter Tables Pin
r.stropek15-Jun-06 0:29
r.stropek15-Jun-06 0:29 
GeneralRe: Alter Tables Pin
myNameIsRon15-Jun-06 14:39
myNameIsRon15-Jun-06 14:39 
AnswerRe: Alter Tables Pin
Eric Dahlvang15-Jun-06 4:47
Eric Dahlvang15-Jun-06 4:47 
GeneralRe: Alter Tables Pin
myNameIsRon15-Jun-06 14:38
myNameIsRon15-Jun-06 14:38 
Question'Best practices' info needed [modified] Pin
Gary Wheeler14-Jun-06 10:49
Gary Wheeler14-Jun-06 10:49 

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.