POV-Ray : Newsgroups : povray.off-topic : ODBC Server Time
14 Nov 2024 16:16:00 EST (-0500)
  ODBC (Message 1 to 10 of 98)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Invisible
Subject: ODBC
Date: 13 Dec 2007 08:05:47
Message: <47612e2b$1@news.povray.org>
Does anybody here know anything about ODBC?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Tom Austin
Subject: Re: ODBC
Date: 13 Dec 2007 08:19:20
Message: <47613158$1@news.povray.org>
Invisible wrote:
> Does anybody here know anything about ODBC?
> 

run away run away


Post a reply to this message

From: Gail Shaw
Subject: Re: ODBC
Date: 13 Dec 2007 08:20:55
Message: <476131b7@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:47612e2b$1@news.povray.org...
> Does anybody here know anything about ODBC?
>

Open Database Connectivity.

A standard API for connecting to various forms of data sources. Generally
slower than OleDB, but easier to find drivers for more esoteric systems.

Was there anything specific you wanted to know?


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 08:24:51
Message: <476132a3$1@news.povray.org>
Gail Shaw wrote:

> Open Database Connectivity.
> 
> A standard API for connecting to various forms of data sources. Generally
> slower than OleDB, but easier to find drivers for more esoteric systems.
> 
> Was there anything specific you wanted to know?

There appear to be ODBC drivers for accessing CSV files and so forth.

So does that mean I can perform arbitrary SQL queries on a CSV file?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 08:25:06
Message: <476132b2@news.povray.org>
Tom Austin wrote:

> run away run away

So-noted.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Mike the Elder
Subject: Re: ODBC
Date: 13 Dec 2007 08:50:02
Message: <web.4761380e56f11385e2b2e7080@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Does anybody here know anything about ODBC?
>
I know a bit. There are probably others here who know more.  A more specific
context would probably be helpful.  Are you looking to learn more about the
subject in general? Is there a specific problem you need to solve?

A reasonably short and to the point intro can be found here:
http://www.unixodbc.org/doc/ProgrammerManual/Tutorial/

Best Regards,
Mike C.


Post a reply to this message

From: Gail Shaw
Subject: Re: ODBC
Date: 13 Dec 2007 09:20:43
Message: <47613fbb@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:476132a3$1@news.povray.org...

> There appear to be ODBC drivers for accessing CSV files and so forth.

Yup. Excel spreadsheets, xml files, assorted databases, active directory,
etc...

> So does that mean I can perform arbitrary SQL queries on a CSV file?

Probably. How complex a statement depends on the capabilities of the driver
in question. If it has a manula/help file, read it.


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 09:30:40
Message: <47614210$1@news.povray.org>
Gail Shaw wrote:
> "Invisible" <voi### [at] devnull> wrote in message
> news:476132a3$1@news.povray.org...
> 
>> There appear to be ODBC drivers for accessing CSV files and so forth.
> 
> Yup. Excel spreadsheets, xml files, assorted databases, active directory,
> etc...
> 
>> So does that mean I can perform arbitrary SQL queries on a CSV file?
> 
> Probably. How complex a statement depends on the capabilities of the driver
> in question. If it has a manula/help file, read it.

...right. So you're saying the type of queries I can do can vary by ODBC 
driver?

I guess I was assuming that an ODBC driver is like a graphics driver - 
either you have graphics or you don't. (Oh, and some of the more exotic 
features might not be available, like 3D acceleration or hardware overlays.)

Basically I want to develop a program that talks to a database. I was 
going to use ODBC to do this. But I don't have a database set up right 
now, so I was wondering if I could test it with a simple text file until 
I get round to setting up a real database. [Obviously a CSV file isn't 
going to even approach the speed of a half decent database engine. But I 
can test whether data goes in and data comes out.]

Alternatively, does anybody know how to configure PostgreSQL? Because I 
can't get the damn thing to work properly...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Gilles Tran
Subject: Re: ODBC
Date: 13 Dec 2007 11:09:09
Message: <47615925$1@news.povray.org>

47614210$1@news.povray.org...
> Basically I want to develop a program that talks to a database. I was 
> going to use ODBC to do this. But I don't have a database set up right 
> now, so I was wondering if I could test it with a simple text file until I 
> get round to setting up a real database. [Obviously a CSV file isn't going 
> to even approach the speed of a half decent database engine. But I can 
> test whether data goes in and data comes out.]

You can do some limited database work with text files (or Excel files etc.), 
but that will mostly be limited to actions that can be done without 
requiring indexes, i.e. SELECT and INSERT statements rather than UPDATE and 
DELETE for instance. For testing a database, you'll need a database. MS 
Access will do, and MySQL takes a couple of minutes to install on a PC.

G.


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 11:16:49
Message: <47615af1$1@news.povray.org>
Gilles Tran wrote:

> You can do some limited database work with text files (or Excel files etc.), 
> but that will mostly be limited to actions that can be done without 
> requiring indexes, i.e. SELECT and INSERT statements rather than UPDATE and 
> DELETE for instance. For testing a database, you'll need a database. MS 
> Access will do, and MySQL takes a couple of minutes to install on a PC.

PostreSQL also takes a couple of minutes to set up. Unforuntately, I 
can't make it do anything once it's installed.

MySQL isn't transactional = I'm not really interested.

Maybe I'll just use M$ Access. [Obviously that means I can only use 
computers which have M$ Access.]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.