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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 2445 - 2475 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2445
Hi, authors of DTL, I'm new to DTL and just built it on my Ubuntu 6.06 dapper, with GCC 4.0.3. I created a DSN to connect to SQL Server Express 2008, and use...
MENG Xin
zinces@...
Send Email
May 11, 2009
6:38 pm
2446
Well, it's hard to say what is going wrong without more information here. It is a bit strange to be calling SQL Server Express from Ubuntu. It could be...
Corwin Joy
corwinjoy
Offline Send Email
May 11, 2009
6:42 pm
2447
Hi, Tried to find out how to do the following: SELECT * FROM table WHERE entry IN (?) Is it as simple as having a std::vector< _type_ > as parameter type? TIA ...
Robert Bielik
robert_bielik
Offline Send Email
May 27, 2009
2:49 pm
2448
Hello there, First of all , thank you very much for this very useful library. being able to use stl mindset is a boon in a field i am not very competent,so...
hurcan solter
hurcansolter
Offline Send Email
May 31, 2009
5:42 am
2449
Corwin, Limited by my current IT environment, I have to connect SQL Server Express from Ubuntu, because there is no MySQL deployed. I missed some detail in my...
MENG Xin
zinces@...
Send Email
May 31, 2009
5:43 am
2450
Hello hurcan, Sorry it took me a while to get back to you, been a busy last couple weeks. It has been a long time since I did this and I don't remember if I...
Corwin Joy
corwinjoy
Offline Send Email
May 31, 2009
6:09 am
2451
Probably you want to do this via a sql_iterator. I believe your syntax could work under ODBC but remember that the (?) has to hold a single parameter. So here...
Corwin Joy
corwinjoy
Offline Send Email
May 31, 2009
6:23 am
2452
Here is what Mike had to say: From: "Michael.Gradman" I do not know if we support bulk inserts for variant_rows. I would think only with the user providing...
Corwin Joy
corwinjoy
Offline Send Email
Jun 1, 2009
1:07 am
2453
Corwin, I have even now gotten a Z-machine called ZaxMidlet to work on my Blackberry! This means I now can play text adventure games anywhere I go! Mike...
michael.gradman@...
cppguru777
Offline Send Email
Jun 1, 2009
1:25 am
2454
I'm trying MySQL "REPLACE INTO" with sql_iterator, but I get an exception: "Fetch without a SELECT" The query looks like: "REPLACE INTO table VALUES...
Robert Bielik
robert_bielik
Offline Send Email
Jun 4, 2009
9:25 am
2455
... Should anyone be curious of how this was resolved, it was a problem with the MySQL ODBC driver (in the Ubuntu 8.04 distro). By using a newer one, it works...
Robert Bielik
robert_bielik
Offline Send Email
Jun 4, 2009
9:28 am
2456
... Ok, solved it. I erroneusly supplied columns in the BCA to query for. With an "empty" BCA it works fine. /Rob...
Robert Bielik
robert_bielik
Offline Send Email
Jun 4, 2009
11:10 am
2457
If REPLACE construct involves replacing records that match particular conditions (like using a WHERE clause) you can use a select_update_iterator to achieve...
michael.gradman@...
cppguru777
Offline Send Email
Jun 4, 2009
11:20 am
2458
... REPLACE INTO is equal to an INSERT or UPDATE (INSERT if row doesn't exist, UPDATE otherwise), so I don't thing select_update_iterator will suffice. /Rob...
Robert Bielik
robert_bielik
Offline Send Email
Jun 5, 2009
7:01 am
2459
What you could do is do something like this: Write code using an IndexedDBView() that provides the kind of behavior you are talking about ... of course your...
michael.gradman@...
cppguru777
Offline Send Email
Jun 5, 2009
2:58 pm
2460
I have an SQL query which I run on a remote MySQL db. With SQLyog the total time (db+transfer) takes ~500 ms (78000 rows) whereas using DTL (release build)...
Robert Bielik
robert_bielik
Offline Send Email
Jun 11, 2009
8:10 am
2461
I have an XML which I parse and insert data into a MySQL database, the strings are in utf8 format, and although I've setup the columns to be utf8 the strings...
Robert Bielik
robert_bielik
Offline Send Email
Jun 25, 2009
6:58 am
2462
... Hi Corwin, that page states that you can use std::wstring for column data, but I get compilation failures trying that. I really don't want the fullblown...
Robert Bielik
robert_bielik
Offline Send Email
Jun 25, 2009
8:20 am
2463
I solved the wide char issues by changing tcstring<N> to tcstring<N,CharType>, and fixing some stuff in BoundIO (and elsewhere) so that the wide tcstrings can...
Robert Bielik
robert_bielik
Offline Send Email
Jun 25, 2009
2:26 pm
2464
Maybe you could let MySQL convert it to utf8: http://dev.mysql.com/doc/refman/5.0/en/charset-convert.html But of course its better, if you don't have to...
Jens Weller
JensWeller@...
Send Email
Jun 25, 2009
2:34 pm
2465
Robert, It would probably be well-worth it will you supply this patch. And maybe you could supply us with some notes about the changes you had to make,...
michael.gradman@...
cppguru777
Offline Send Email
Jun 25, 2009
2:39 pm
2467
I have an MS sql application that is installed to have local access with Windows Authentication. I can CONNECT to this data base from my other utility (php...
cnygrp
Offline Send Email
Jul 19, 2009
10:06 am
2468
Hi All I have successfully compiled DTL in mingw with msys in windows XP 32 bit http://www.mingw.org/wiki/msys To do this, I followed the instructions on how...
jarrod.chesney@...
jarrod.chesn...
Offline Send Email
Jul 19, 2009
10:06 am
2469
I have a specialized ms sql db on WinXP which is configured for Widows Authentication from the local machine. I can connect to this fine with php script from...
cnygrp
Offline Send Email
Jul 19, 2009
10:06 am
2470
You're welcome and I'm glad DTL is useful to you!...
Corwin Joy
corwinjoy
Offline Send Email
Jul 20, 2009
4:53 pm
2471
... Sure. DTL just uses an ODBC connection. So, when you set up the odbc connection you can simply choose to use Windows Authentication rather than SQL...
Corwin Joy
corwinjoy
Offline Send Email
Jul 20, 2009
4:58 pm
2472
Hi I've been using DTL for about a month now. I'm fairly sure i'm not using it the most optimal way but any way... I'm having trouble with my select update...
jarrod.chesney@...
jarrod.chesn...
Offline Send Email
Aug 13, 2009
6:44 pm
2473
Hi, I seemed to have got it going. I moved the keys assignment to the select_insert_iterator after it has selected stuff. template<class DataObj> bool ...
jarrod.chesney@...
jarrod.chesn...
Offline Send Email
Aug 13, 2009
6:45 pm
2474
Hi All I've spent ages looking through the documentation about this. I am still unsure... If i have an array of 10 objects and i call bulk_fetch, how do i know...
jarrod.chesney@...
jarrod.chesn...
Offline Send Email
Aug 27, 2009
7:52 pm
2475
... If you are using bulk_fetch_helper then you can just apply std::distance on your output iterator. E.g. output_iterator output_beg, output; ...
corwinjoy
Offline Send Email
Aug 27, 2009
8:03 pm
Messages 2445 - 2475 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