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 1849 - 1878 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1849
I'm not sure without testing, but I believe the problem with your stored procedure is that it returns multiple result sets (see the related discussion here; ...
Corwin Joy
corwinjoy
Offline Send Email
Jan 1, 2006
10:55 pm
1850
Hi again. Mystery solved :) The problem was that my stored procedure was displaying "* row affected" messages after insert (it wasn't insert error but it's...
Maciej Gasiorowski
gasior79
Offline Send Email
Jan 2, 2006
5:12 pm
1851
Rodrigo, After some more thought, here is an outline of how this might work: 1. You would need a field class with a constructor like field(ODBC sql type,...
cjoy@...
corwinjoy
Offline Send Email
Jan 3, 2006
5:54 pm
1852
Corwin ... I needed a generalized form of ParseCommaDelimitedList() that could separate a list of tokens separated by any delimiters (not just comma) ... so I...
Gradman, Michael
cppguru777
Offline Send Email
Jan 3, 2006
6:05 pm
1853
Rodrigo, After some more thought, here is an outline of how this might work: 1. You would need a field class with a constructor like field(ODBC sql type,...
cjoy@...
corwinjoy
Offline Send Email
Jan 3, 2006
6:49 pm
1854
Mike, This is a good opportunity for you to learn CVS. It is really very easy. Just open your cygwin console. Create a directory in D: called dtl_cvs and type...
cjoy@...
corwinjoy
Offline Send Email
Jan 3, 2006
9:33 pm
1855
Hi, I'd like to build "complex" WHERE expressions, i.e. no hard-coded "WHERE ..." strings. Something like: query subq("T_MAP"); condition subcond("NAME"); ...
Robert Bielik
robert_bielik
Offline Send Email
Jan 4, 2006
9:19 pm
1856
I'd just like to point out that sub-queries aren't supported in MySQL (v3 for sure), and they tend to be much less efficient than a pure join. eg, a better...
Paul
elegant_dice
Offline Send Email
Jan 5, 2006
12:36 am
1857
Just use a sql_iterator. Then you can dynamically build and execute whatever kind of statement you want even if it has nested subqueries. Corwin ... From:...
Corwin Joy
corwinjoy
Offline Send Email
Jan 6, 2006
9:29 am
1858
Hello to all. I just came back from my vacation. Anyways, how can I help to make all this possible? I'm fluent in C++ but no ODBC experience whatsoever. ...
rodrigo.madera
Offline Send Email
Jan 8, 2006
5:26 pm
1859
Well, if you want to have a go, the first four items 1-4 should be fairly simple and will get you to the point where you have a DynamicDBView as constructed...
Corwin Joy
corwinjoy
Offline Send Email
Jan 8, 2006
10:24 pm
1860
... I believe that we should have both facilities. Since the DTL still doesn't have any table creation methods, the drop&create approach looks the best. The...
Rodrigo Madera
rodrigo.madera
Offline Send Email
Jan 9, 2006
3:49 pm
1861
Soon I'll be requiring features to help create and alter tables through ODBC. I only really know the MySQL dialect of SQL, so I'd be interested in using tools...
Paul
elegant_dice
Offline Send Email
Jan 11, 2006
3:48 am
1862
Hi. What is the best prefered way to work with identity columns in MS SQL Server using DTL ? What I want to do is to look for a record in database. If record ...
gasior79
Offline Send Email
Jan 16, 2006
5:24 pm
1863
I just want to clean out the database without knowing what is already in it. The only way I am able to do it now is to completely read the database and store...
prcarp
Offline Send Email
Jan 16, 2006
5:30 pm
1864
Hi there. Look here: http://dtemplatelib.sourceforge.net/DBStmt.htm DBStmt("DELETE FROM DB_EXAMPLE").Execute(); Regards Maciej Gasiorowski prcarp wrote: I just...
Maciej Gasiorowski
gasior79
Offline Send Email
Jan 16, 2006
5:34 pm
1865
It's simple answers like that that make me feel stupid. :) I should have found that one myself. Thanks!...
prcarp
Offline Send Email
Jan 16, 2006
6:47 pm
1866
By the way, the truncate table command is even faster than delete because it doesn't do any logging. Of course, it's also completely irreversible....
Geoffrey Gowan
ggowan_2000
Offline Send Email
Jan 16, 2006
7:34 pm
1867
I am using the DynamicIndexDBView for my application and have no problems with selecting the data. However, when I want to write changes back to the database...
alister_fong
Offline Send Email
Jan 17, 2006
3:05 am
1868
Just to let everyone know, I ran DTL on a AMD running Fedora Core 4, MySQL 4.1 and it failed to complie. Seems like the LONG LONG used for ODBCINT64 gets...
alister_fong
Offline Send Email
Jan 17, 2006
4:01 am
1869
Hi all, Sometimes the database gets a little corrupted, and instead of 1 or 0 in a boolean field, I get -72 or something like that. Not entirely invalid...
Paul
elegant_dice
Offline Send Email
Jan 18, 2006
8:45 am
1870
Paul, I'm not sure I really like this change for two reasons: 1. How do you know that is it only 1 that is getting corrupted. What if something is happening to...
Corwin Joy
corwinjoy
Offline Send Email
Jan 21, 2006
11:40 pm
1871
Hi Corwin, ... yeah I thought there would be some resistance, I'm not even sure its a great idea ... ... good question, i'm not sure where the -72's are coming...
Paul
elegant_dice
Offline Send Email
Jan 22, 2006
1:57 pm
1872
I noticed that when starting up DTL, it does not check the property SQL_NEED_LONG_DATA_LEN via SQLGetInfo. This is for drivers that need the size of blob data...
Robert Bielik
robert_bielik
Offline Send Email
Jan 22, 2006
5:07 pm
1873
Paul, I think that adding this as a #define is a reasonable way to go. Let's keep the default as the old version like you suggest below. Other than that,...
Corwin Joy
corwinjoy
Offline Send Email
Jan 22, 2006
11:44 pm
1874
Ah, with some more debugging I see that the length of data does come down to the driver. DTL is fine. /R...
Robert Bielik
robert_bielik
Offline Send Email
Jan 23, 2006
1:44 pm
1875
After some tweaking of the SQLite3 ODBC driver, I'm happy to report that blobs, strings and everything else works flawlessly. And fast ;) Thanks all for DTL....
Robert Bielik
robert_bielik
Offline Send Email
Jan 25, 2006
8:08 am
1876
Thanks for the compliment. And thanks for letting us know about this! Corwin ... From: Robert Bielik <robert.bielik@...> Date: Wednesday, January 25,...
cjoy@...
corwinjoy
Offline Send Email
Jan 25, 2006
9:37 pm
1877
Hello group. I've just started using DTL with SQL Server and i've got a question regarding performance. I've wrote a simple program, that inserts 10 000...
Maciej Gasiorowski
gasior79
Offline Send Email
Jan 26, 2006
6:39 pm
1878
I'll just throw out a couple of ideas. I'm not sure which are most applicable. It's not that SQL Server "sucks" compared to MySQL - what they are doing is...
Geoffrey Gowan
ggowan_2000
Offline Send Email
Jan 26, 2006
10:10 pm
Messages 1849 - 1878 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