Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
Messages 769 - 799 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
769
Thanks again Corwin. I agree with you. The first way is a little too much of a pain. The second way is NOT an option either since I do not have control over...
Son Of a Gunk
sonofagunk
Offline Send Email
Dec 2, 2003
4:16 am
770
... try { DBStmt("drop table XXX").Execute(); } catch (std::exception &ex) { // ignore error if table does not exist } ... The problem is that each database...
Corwin Joy
corwinjoy
Offline Send Email
Dec 2, 2003
5:12 am
771
Hmm... I don't know - I have not seen this before. Have you checked the ODBC library paths as per our Linux note? When you run the executable for the first...
Corwin Joy
corwinjoy
Offline Send Email
Dec 2, 2003
5:19 am
772
... These are things that I agree could be better as runtime settings. I thing it was mostly a matter of laziness in not wanting to add members and methods to...
Corwin Joy
corwinjoy
Offline Send Email
Dec 2, 2003
5:26 am
773
Hi Corwin, The reason for the request to allow case forcing to be changed at runtime is that I am presently working with a case sensitive ODBC driver for a...
gregdo2000
Offline Send Email
Dec 2, 2003
7:49 pm
774
Actually, to me it sounds like you want to define neither DTL_UC nor DTL_LC. The default behavior for DTL if you do not define these is to simply pass through...
Corwin Joy
corwinjoy
Offline Send Email
Dec 3, 2003
4:32 pm
775
Actually that is exactly what I've done (i.e. not define DTL_UC or DTL_LC). So, I guess in reality leaving it like this should work fine in all cases. If I...
gregdo2000
Offline Send Email
Dec 3, 2003
7:10 pm
777
... Take a look at the docs for sql_iterator. This iterator works well for stored procedures. In the example project we give two Oracle stored procedure...
Corwin Joy
corwinjoy
Offline Send Email
Dec 5, 2003
3:51 am
778
Hi everyone, Here is my problem: I need to call a function with my own DB connection and already assembled select SQL statement string in order to get the...
aleskx
Online Now Send Email
Dec 5, 2003
10:42 pm
779
The easiest way to do what you describe is to use a DynamicDBView with a sql_iterator. The result is pretty close to what you had written void someFunc(const...
Corwin Joy
corwinjoy
Offline Send Email
Dec 5, 2003
10:59 pm
780
Corwin, Thanks. I have to give you guys a praise. More I use DTL, more I like it. Like in this case, often things turn out to be so simple that the most...
aleskx
Online Now Send Email
Dec 6, 2003
1:56 am
781
Hi again, Well, I've ran into some trouble when I tried to execute something like this: args.tables("select some_field from some_table").conn(dbConn) I have...
aleskx
Online Now Send Email
Dec 8, 2003
6:08 pm
782
Corwin, Now I see that you've put sql_iterator there. I was using select_iterator. Sorry for jumping into conclusions too fast (I'm still fresh with DTL) ...
aleskx
Online Now Send Email
Dec 8, 2003
6:08 pm
783
Actually, this came up on the mailing list about two weeks ago. Currently I plan to change this if statement to: // N.B. we need to let the SQL parser...
Corwin Joy
corwinjoy
Offline Send Email
Dec 8, 2003
6:58 pm
784
Actually, we don't care if ODBC garbles the name it gives us in the case of sql_iterator since we run exactly the query given to us by the user. (And for...
Corwin Joy
corwinjoy
Offline Send Email
Dec 8, 2003
11:12 pm
785
"Select count(foo)" will indeed have a 'garbled' name, but if the user is ok with it why would it bother you? User can easily take care of this problem with...
aleskx
Online Now Send Email
Dec 9, 2003
1:05 am
786
Hi, I decided to change from using DynamicDBView to DBView since I know all the fields are that I want to use, but I am now unable to compile. Have I missed...
gregdo2000
Offline Send Email
Dec 9, 2003
9:18 pm
787
Oops, I figured it out. The contstructor of DBView does not take the field names as it's second parameter as DynamicDBView does. Sorry about the unneeded...
gregdo2000
Offline Send Email
Dec 9, 2003
11:50 pm
788
Corwin, I did implement the change you've posted (I came up with something close to it myself). Here's what I've been able to figure out so far. This does not...
aleskx
Online Now Send Email
Dec 9, 2003
11:54 pm
789
The problem here is that I was a bit too glib with my example (I should have read it more carefully and actually ran the example!) What I meant to say for the...
Corwin Joy
corwinjoy
Offline Send Email
Dec 10, 2003
4:08 am
790
Hi, This is my final question :) I want to copy some table from Pervasive SQL 2000i to PostgreSQL on win32 (work with dev-cpp mingw32 gcc). For this i use...
Emmanuel Khamissian
ekhamissian
Offline Send Email
Dec 10, 2003
7:50 am
791
Corwin, thanks for your help. The while loop does not compile (MSVC 6.0 - error C2593: 'operator <<' is ambiguous) This will compile and do fine: ...
aleskx
Online Now Send Email
Dec 10, 2003
3:50 pm
792
I have some kind of DTL-Oracle ODBC driver interaction problem: What I was able to figure out so far is that if there is a numeric field after a string one,...
aleskx
Online Now Send Email
Dec 10, 2003
3:52 pm
793
... Not sure why. This compiles and runs ok on my copy of MSVC 6.0 SP5....
Corwin Joy
corwinjoy
Offline Send Email
Dec 10, 2003
4:06 pm
794
In connection with my previous post (Oracle ODBC sql with numeric/string columns fails when there is numeric column after the string one), here's what I've...
aleskx
Online Now Send Email
Dec 10, 2003
4:30 pm
795
The rule in ODBC is that any string columns which you retrieve with SQLGetData should come last in the set of columns. (This is driver dependent, some drivers...
Corwin Joy
corwinjoy
Offline Send Email
Dec 10, 2003
4:57 pm
796
Just found out from Oracle support: This problem goes away if SQLGetData() extensions check box is checked on the ODBC driver configuration screen. But,...
aleskx
Online Now Send Email
Dec 10, 2003
10:22 pm
797
Honestly, I did not know that there is such a rule. For a long time I have been using SQLGetData() with same queries and same ODBC driver that won't work with...
aleskx
Online Now Send Email
Dec 10, 2003
11:08 pm
798
STLPort maybe? I'm using 4.5.3....
aleskx
Online Now Send Email
Dec 10, 2003
11:47 pm
799
... I ... driver ... For details on the SQLGetData restriction see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odch10pr_11.asp ...
Corwin Joy
corwinjoy
Offline Send Email
Dec 11, 2003
12:10 am
Messages 769 - 799 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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