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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 1472 - 1501 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1472
Here's my thoughts around this subject: 1. Borland are updating their C/C++ compiler at the moment with a release expected around the 3rd quarter of the year....
Richard Jennings
richard06_2005
Offline Send Email
Apr 1, 2005
8:16 am
1473
I have an Oracle database and I want to read data as fast as possible. There are 43000+ entries and the receiving structure is as follows: ...
Robert Bielik
robert_bielik
Offline Send Email
Apr 7, 2005
7:15 am
1474
Take a look at our performance tips: http://dtemplatelib.sourceforge.net/Performance.htm...
Corwin Joy
corwinjoy
Offline Send Email
Apr 7, 2005
2:29 pm
1475
Hi guys, since I changed my (working) code to use SQL_BIGINT: ODBCINT64 test = 12; dbStmt.BindCol(0, SQL_BIGINT, &test, sizeof(ODBCINT64), NULL); On...
Matthias Küspert
mksoft99
Offline Send Email
Apr 7, 2005
3:26 pm
1476
In general I would recommend using LocalBCA and an iterator rather than mucking with lower level DBStmt calls since this is easier to get wrong. So, e.g....
cjoy@...
corwinjoy
Offline Send Email
Apr 7, 2005
6:38 pm
1477
Hi! I am trying to read in a predefined structure a query of the type select id, concat(title, text) as content from DBTEXT I took the example "A Second...
Georges Dupret
gericdupret
Offline Send Email
Apr 7, 2005
10:56 pm
1478
I don't really understand your question. So, I think you want to run the query select id, concat(title, text) as content from DBTEXT into a structure that has...
Corwin Joy
corwinjoy
Offline Send Email
Apr 8, 2005
6:34 am
1479
I would have thought that the code example should be: DBView<std::pair<long, string> > view("DBTEXT", BCA(rowbuf, COLS["id"] >> rowbuf.first && COLS["content"]...
Richard Jennings
richard06_2005
Offline Send Email
Apr 8, 2005
8:12 am
1480
Thanks Corwin, I suspected that SQLGetData was involved due to the std::string, so I changed to dtl::tcstring<80> as the opt page suggested. Plus using the ...
Robert Bielik
robert_bielik
Offline Send Email
Apr 8, 2005
10:57 am
1481
If you want the alias you have to tell it. So COLS["concat(title, text) as content"] >> rowbuf.second...
Corwin Joy
corwinjoy
Offline Send Email
Apr 8, 2005
1:48 pm
1482
Thanks Corwin, the sql_iterator did the trick :-) Matthias...
Matthias Küspert
mksoft99
Offline Send Email
Apr 8, 2005
5:04 pm
1483
I have asked this before, and never really got to much further. I am trying to link against the newest DTL sources. I have from what I can tell met the needs....
evilded2002
Offline Send Email
Apr 9, 2005
8:17 pm
1484
You are not using the same C++ runtime libraries when you build your project and DTL. So, as mentioned before ...
Corwin Joy
corwinjoy
Offline Send Email
Apr 10, 2005
12:26 am
1485
Ok I appreciate you displaying that. Here is a shot of the same screen you are showing me from the examples. I am compiling it against the correct lib. I...
M Randall
evilded2002
Offline Send Email
Apr 10, 2005
12:34 am
1486
First off all let me appolgize. I did not for some reason catch that*DLL* part of what you were indicating, or in your case not inficating, I had my lib set to...
M Randall
evilded2002
Offline Send Email
Apr 10, 2005
1:05 am
1487
OK. So you need to check the runtime library setting for how DTL is built. I sent the wrong screenshot. By default the Debug config for DTL uses ...
Corwin Joy
corwinjoy
Offline Send Email
Apr 10, 2005
8:10 am
1488
Hello everyone, I've just had rather a frustrating day trying to call a Stored Procedure on SQL Server from DTL... I think I'm very close to making it work...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Apr 13, 2005
11:16 pm
1489
I'm sorry this gave you grief. SQL Server is tricky in that you have to call SQLMoreResults before it will return the values of any parameters from a stored...
Corwin Joy
corwinjoy
Offline Send Email
Apr 14, 2005
4:03 am
1490
Thomas, Thanks for sending this in. I will try to incorporate these changes into a database specific setting for DB2. One more piece of information that would...
Corwin Joy
corwinjoy
Offline Send Email
Apr 14, 2005
4:09 am
1491
Hello Corwin, Thank you for your reply and thank you for DTL. It seems like The Right Way (TM) to do things :) I'm sorry, I fudged up the copy/paste. I have a...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Apr 14, 2005
7:09 am
1492
Hi all, Thought I'd share this with you. I have 4 database columns called: value_0, value_1, value_2, value_3. I wanted to retrieve those into an array, so I...
Paul
elegant_dice
Offline Send Email
Apr 14, 2005
7:15 am
1493
O.K. If you look at the sql_iterator docs you will see the phrase: "Please also note that if your statement reads/writes std::string or dtl::blob columns then...
Corwin Joy
corwinjoy
Offline Send Email
Apr 14, 2005
3:03 pm
1494
Cool! That's a nice and elegant little template for that. Corwin ... into an ... use...
Corwin Joy
corwinjoy
Offline Send Email
Apr 14, 2005
3:19 pm
1495
Corwin, Here's some additional information on the problem I'm having with running an SP on SQL Server. I ran a trace on the server. When I use the following: ...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Apr 14, 2005
3:19 pm
1496
Corwin, I completely missed that part! Would you like me to send a modified example for SQL Server, where there are multiple input and outputs and where that...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Apr 14, 2005
3:32 pm
1497
Just change your BCA to use fixed length strings. So, e.g. class TestParmBCA { public: void operator()(BoundIOs &cols, variant_row &row) { cols[0] >>...
cjoy@...
corwinjoy
Offline Send Email
Apr 14, 2005
3:51 pm
1498
This might be a good example for us to include in the documentation for binding of "user-defined" data types ... in this case of boost::array ... Couldn't...
Gradman, Michael
cppguru777
Offline Send Email
Apr 14, 2005
3:53 pm
1499
That worked wonderfully. Thank you! ... struct....
rogerdahl9432012
rogerdahl943...
Offline Send Email
Apr 14, 2005
4:19 pm
1500
Hi, I'm trying to talk to Oracle from a Linux box without success. Trying to use free ODBC driver from http://home.fnal.gov/~dbox/oracle/odbc/, I get link...
aleskx
Offline Send Email
Apr 14, 2005
7:53 pm
1501
Hi Michael, ... Assumption: I believe binding is just done on the first sample row? Corwin, this is right? Its not done for every row thats created, right? ...
Paul
elegant_dice
Offline Send Email
Apr 14, 2005
11:53 pm
Messages 1472 - 1501 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