Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Part 1 of sever...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3359 of 3799
Post > Topic >>

Part 1 of several - Converting a varchar to an interval

by postgres@[EMAIL PROTECTED] (Shawn) Mar 26, 2008 at 03:56 PM

Hello,

I have several large tables, over 100 million records each.  One of the
fields 
is callee 'duration'.  It is a varchar that contains what is essentially
an 
integer that is the duration of an event in milleseconds.  Could someone
tell 
me a simple way to convert a value such as 134987 stored in a varchar into
an 
interval?

This will dovetail with my next question. 

Thanks for all the help both now and previous.

Shawn

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 1 Posts in Topic:
Part 1 of several - Converting a varchar to an interval
postgres@[EMAIL PROTECTED  2008-03-26 15:56:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:53:27 CST 2008.