MySQL Forums
Forum List  »  Portuguese

Mysql Excel com FROM_UNIXTIME(TIMESTAMP)
Posted by: Marcos Carmello
Date: August 19, 2008 09:53AM

Olá a todos!

Pessoal, migrei recentemente de meu servidor Windows 2k com Mysql 5.0 para um Linux Debian com Mysql 5.0 e não tive maiores problemas.

Existia uma conexão para uma tabela através de uma planilha Excel com a seguinte query:

SELECT t1.id,(FROM_UNIXTIME(t1.date_created,'%d')) FROM hd_tickets AS t1 WHERE t1.id=20000

Minha tabela:

id - INTEGER - AUTO INC
date_created - INTEGER - NOT NULL

Meu resultado:

id
2000

A coluna date_created some na importação dos dados quando conecto no meu novo servidor Linux. Já tentei alterar a query, mudar a tabela de database mas há alguma relação com a versão dos servidores dependendo do SO.

Alguém tem idéia do que pode ser?

Grato pela atenção de todos.

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql Excel com FROM_UNIXTIME(TIMESTAMP)
7090
August 19, 2008 09:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.