Search the web
Sign In
New User? Sign Up
metabase-dev · Metabase Development discussions list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
MSSQL 7 and timestamps   Message List  
Reply | Forward Message #1113 of 1151 |
Re: [metabase-dev] MSSQL 7 and timestamps

dcpck2004 wrote:

> Hello,
>
> I've recently started playing with Metabase as a solution for my PHP
> database abstraction needs. I'm trying to write a project that needs
> to be portable across many different databases, and I'm hoping
> Metabase will help me do that, however...
>
> I've read the other comments about MSSQL and dates/times/timestamps
> not being translated to the ISO format. I need to get this
> functionalilty working. Is a solution in the works or already done?
> Surely it can be done either with the "convert" SQL functions or
> within PHP using regular expression manipulation? What is the best
> way to procede with getting this sorted out?

this may help:

Ini setting for output formatting:
ini_set('mssql.datetimeconvert', 'Off');

Query on startup to tell the server how input will have date parts
ordered:
SET DATEFORMAT ymd

regards,
Lukas Smith
smith@...
_______________________________
BackendMedia
www.backendmedia.com
berlin@...

Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin

Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07



Tue Sep 7, 2004 4:41 pm

dybvandal
Offline Offline
Send Email Send Email

Forward
Message #1113 of 1151 |
Expand Messages Author Sort by Date

Hello, I've recently started playing with Metabase as a solution for my PHP database abstraction needs. I'm trying to write a project that needs to be...
dcpck2004
Offline Send Email
Sep 7, 2004
4:39 pm

... this may help: Ini setting for output formatting: ini_set('mssql.datetimeconvert', 'Off'); Query on startup to tell the server how input will have date...
Lukas Smith
dybvandal
Offline Send Email
Sep 7, 2004
4:41 pm

Hello, ... The Metabase solves that by creating fixed size text fields. Although text fields may not be suitable for all dates operations they are sufficient...
Manuel Lemos
mallemos
Offline Send Email
Sep 7, 2004
4:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help