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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 1784 - 1813 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1784
I will try this stuff and let you know. Note, the extra semi-colon was from a cut and paste error on my part and not actually in the actual SQL that gets...
Brian
probe_us
Offline Send Email
Nov 1, 2005
3:29 pm
1785
Here is the latest in this saga. We have move the code to a stored procedure that takes no parameters. But I cannot for the life of me get it to compile. ...
Brian
probe_us
Offline Send Email
Nov 2, 2005
3:24 pm
1786
Another question that may give some insight to this compiler error. Why does sql_iterator::EqualCompare have a line bool same_view = (*(i1.pDBview) ==...
Brian
probe_us
Offline Send Email
Nov 2, 2005
6:01 pm
1787
Brian, You're right, this sounds like a bug. sql_iterator should just compare the pointers not the DBView objects themselves like what select_iterator does. I...
Corwin Joy
corwinjoy
Offline Send Email
Nov 3, 2005
2:39 am
1788
I have a stored proc that returns a recordset. It is essentially just a select from a view. The recordset seems to bind fine, but it is really slow since I...
Brian
probe_us
Offline Send Email
Nov 7, 2005
9:14 pm
1789
Brian, It should not be that slow. Here are some things you can do in order of increasing difficulty. 1. By default we use server side cursors. Many stored...
cjoy@...
corwinjoy
Offline Send Email
Nov 7, 2005
9:41 pm
1790
Hi, I was wondering if anyone has tried using the dtl with swig (www.swig.org). I need to call my code written with the DTL in Python (www.python.org) and swig...
Kevin Morrison
morrisok
Offline Send Email
Nov 8, 2005
10:28 am
1791
I've never used swig but just glancing at the docs, it seems clear that to call whatever C++ methods you need you will need to reduce the methods to a simple...
Corwin Joy
corwinjoy
Offline Send Email
Nov 8, 2005
2:54 pm
1792
... You might also have a look at Boost.Python: http://www.boost.org/libs/python/doc/index.html Jeff...
Jeff Garland
az_sw_dude
Offline Send Email
Nov 8, 2005
6:17 pm
1793
In addition to what Corwin mentioned, I would recommend trying to determine which part of the code is taking a long time before you start making changes. One...
Geoffrey Gowan
ggowan_2000
Offline Send Email
Nov 8, 2005
6:22 pm
1794
Hello everyone, I'm having trouble getting a working unicode build of my project. I've included a small test application that illustrates the problem. The app ...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Nov 10, 2005
4:53 pm
1795
O.K. I will try to take a look later today. I assume you set the unicode flags _UNICODE,UNICODE in your compile define flags as well? Corwin ... From:...
cjoy@...
corwinjoy
Offline Send Email
Nov 10, 2005
5:31 pm
1796
Hi Corwin, Yes, _UNICODE and UNICODE are defined. Thanks! Roger...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Nov 10, 2005
6:46 pm
1797
Has anyone had any luck calling a stored proc (on Sql Server 2000) with the select_iterator using BuildSpecialQry? I am successfully calling the stored...
Brian
probe_us
Offline Send Email
Nov 10, 2005
8:32 pm
1798
Hi Roger, I started looking at this last night, but made the mistake of trying to upgrade my SQL Server installation and got my machine all tangled up. I'll...
Corwin Joy
corwinjoy
Offline Send Email
Nov 11, 2005
8:22 pm
1799
Hi Corwin, I greatly appreciate any help you can give. I didn't pay for support, after all. I realized earlier that I probably don't need variants, but I ...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Nov 11, 2005
9:32 pm
1800
Sorry. I meant to say tcstring<50> str; This is just a template to define a std::string type interface for a fixed length array of characters (tchar[N]). You...
cjoy@...
corwinjoy
Offline Send Email
Nov 11, 2005
10:02 pm
1801
Hi, I'm new to DTL and I'm wondering if there is a simple way to just read a portion of a table. For example if I have five cols and I want to perform this...
fatima_kanjitd
Offline Send Email
Nov 14, 2005
11:53 pm
1802
Fatima, Just create a new BCA to read only those columns. I usually do this kind of thing with a "local BCA" e.g. my_type dummy; DBView<my_type> view("TABLE",...
Corwin Joy
corwinjoy
Offline Send Email
Nov 15, 2005
4:20 am
1803
Corwin, That worked perfectly. I converted everything to use structs instead of variants. Much nicer for fixed queries :) Thanks! Roger ... a...
rogerdahl9432012
rogerdahl943...
Offline Send Email
Nov 17, 2005
8:50 am
1804
Paul your a star, I just hit this problem on a 2 month old laptop running XP SP2. Calling release on just the connection didn't fix it but calling release on...
Kevin Morrison
morrisok
Offline Send Email
Nov 25, 2005
3:35 pm
1805
... Thanks Kevin! Made my day :) ... That should be ok, the danger with DLLs is that you can't specify initialisation/destruction ordering, and DLLs often...
Paul
elegant_dice
Online Now Send Email
Nov 28, 2005
1:27 pm
1806
Hi, I have just hit a problem when I call GetDefaultConnection.Connect from my exe and then call a function in my dynamically linked dll which expects a...
Kevin Morrison
morrisok
Offline Send Email
Nov 28, 2005
2:56 pm
1807
I'm one of the people who said that. The reason I said it is that using the default connection means that you have a static/global connection object which is...
Geoffrey Gowan
ggowan_2000
Offline Send Email
Nov 28, 2005
5:31 pm
1808
Here's another reason why the default connection is confusing. People don't realize that they have a separate default connection for each DLL and the...
Geoffrey Gowan
ggowan_2000
Offline Send Email
Nov 28, 2005
7:50 pm
1809
... Yeah. Having seen some of these I'm kind of torn as to whether it might not be better to pull out the default connection object. It makes for convenient ...
cjoy@...
corwinjoy
Offline Send Email
Nov 28, 2005
8:24 pm
1810
I agree, however I bet for most apps, a global DB connection is all that is needed. We should just work towards creating a pattern that forces people to...
Paul
elegant_dice
Online Now Send Email
Nov 29, 2005
10:17 am
1811
... I don't agree with this. Its true IF the static variable were defined in the header files, but the static vars are not. They are defined in a .cpp file,...
Paul
elegant_dice
Online Now Send Email
Nov 29, 2005
10:18 am
1812
This seems strange to me. Can you try and reduce it to a simple test case? ie, a main() that calls connect and a simple DLL? thanks Paul...
Paul
elegant_dice
Online Now Send Email
Nov 29, 2005
10:18 am
1813
Hi Paul, I have a simlpe exe that calls getdefaultconnection.connect. The exe then calls a dll. The Dll calls getdefaultconnection.SetAutoCommit(true); program...
Kevin Morrison
morrisok
Offline Send Email
Dec 2, 2005
9:16 am
Messages 1784 - 1813 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