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 to share photos of your group with the world? 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 717 - 746 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
717
Hi All I'm trying to build the DTL with g++ and make. My make file looks like this: # Compiler/Linker CC = g++ LD = g++ # Archiver and indexer AR = ar RANLIB =...
Paul Grenyer
paulgrenyer
Offline Send Email
Nov 1, 2003
8:09 pm
718
Actually, we already have a gnu makefile that is setup to work across multiple compilers/platforms including gcc (multiple platforms), aCC, Solaris. It does...
Corwin Joy
corwinjoy
Offline Send Email
Nov 1, 2003
8:17 pm
719
On Sat, 2003-11-01 at 20:17, Corwin Joy wrote: Hi ... Thanks, I'll give it a look! -- Regards Paul Paul Grenyer Email: paul@... Web:...
Paul Grenyer
paulgrenyer
Offline Send Email
Nov 1, 2003
10:03 pm
720
Paul, what platform you using? ... __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears ...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 2, 2003
3:54 am
721
On Sun, 2003-11-02 at 03:05, Sally McBride wrote: Hi ... Red Hat 9.0 on x86. -- Regards Paul Paul Grenyer Email: paul@... Web:...
Paul Grenyer
paulgrenyer
Offline Send Email
Nov 2, 2003
5:09 pm
722
Hi All I've finally got the DTL to build and link against a client on Linux, but I can't connect to my SQL Server. In the windows version I use the following...
Paul Grenyer
paulgrenyer
Offline Send Email
Nov 3, 2003
7:21 pm
723
Trying to figure out what it should be, just getting caught up in the code. -sal __________________________________ Do you Yahoo!? Exclusive Video Premiere -...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 4, 2003
12:40 am
724
What I would recommend you do is set up a DSN using the odbc.ini settings as recommended for that driver in unixODBC. You can then test the unixODBC...
Corwin Joy
corwinjoy
Offline Send Email
Nov 4, 2003
3:03 am
725
Offhand, I don't think there should be a C_BLOB case. In general a blob could be any binary object which may have nulls in it that does not translate cleanly...
Corwin Joy
corwinjoy
Offline Send Email
Nov 4, 2003
3:10 am
726
For some UNKNOWN reason, the people before me used a 16 byte binary as the key into everything. I need to generate this in my code when I insert into tables....
Sally McBride
pookiebearbo...
Offline Send Email
Nov 4, 2003
4:57 pm
727
Why is it when I have a unique key and I do an insert, the key comes out as null. This is a key that I generate and it is NOT an identity. It is just unique....
Son Of a Gunk
sonofagunk
Offline Send Email
Nov 4, 2003
4:57 pm
728
Honestly, I'm not sure what you are trying to do here. If it were me, I might consider building a simple class for your key if you don't already have one so ...
Corwin Joy
corwinjoy
Offline Send Email
Nov 4, 2003
5:15 pm
729
Are you using a DynamicDBView where the fields are retrieved from the DB or a DBView where you list the fields. In a DynamicDBView the ROWID field is not...
Corwin Joy
corwinjoy
Offline Send Email
Nov 4, 2003
5:19 pm
730
... I use GUIDS as keys in an app that must be reasonably DB neutral(SQL server, MySQL), so I have to use a 16 byte binary as a key. Your best bet is to write...
Ryan Roberts
ryan_s_roberts
Offline Send Email
Nov 5, 2003
12:55 am
731
I am using a DynamicDBView Is it as easy as doing (which seems to work) DynamicDBView<> view1(args1.tables(table) .fields("*") .key_mode(USE_ALL_FIELDS)); The...
Son Of a Gunk
sonofagunk
Offline Send Email
Nov 5, 2003
12:55 am
732
thanks again, I guess I was just trying to use a c_blob (which is really a string<BYTE> in dtl) to handle a sql_binary because that is what bind_basics.cpp...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 5, 2003
12:56 am
733
OK, I understand what you are saying now. In bind_basics.cpp in the function Map_SQL_types_to_C we currently have case SQL_BINARY: return...
Corwin Joy
corwinjoy
Offline Send Email
Nov 5, 2003
1:16 am
734
OK. I think that what was happening with AUTOKEY is that is was adding e.g. ROWID to the list of fields as a primary key. Then when you did an insert, this...
Corwin Joy
corwinjoy
Offline Send Email
Nov 5, 2003
2:07 am
735
The question is SHOULD it add it to the list if it is not autogenerated? In SQL Serer (not sure if this is all of SQL), you can check the syscolumns table and...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 5, 2003
3:36 pm
736
No, it SHOULD NOT add it to the list if it is autogenerated. In fact, I take back what I said earlier, we have special code in there already that removes any...
Corwin Joy
corwinjoy
Offline Send Email
Nov 5, 2003
4:57 pm
737
Andrew, The way you use bulk_insert_helper is pretty much the way you are calling it: dtl::bulk_insert_helper(mlcs.begin(), mlcs.end(), buffer_size, write_it);...
Corwin Joy
corwinjoy
Offline Send Email
Nov 6, 2003
5:14 pm
738
Thanks, that makes sense. Couldn't figure out why it was working for varbinary and not binary -sal ... === message truncated === ...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 6, 2003
5:14 pm
739
If you know the table name then I think it is better to use a DBView than a DynamicDBView since the DBView is faster. Having said that, I don't know why a...
Corwin Joy
corwinjoy
Offline Send Email
Nov 7, 2003
2:14 am
740
One more comment on this, you might want to think twice before you jump to using Oracle sequences since this is a database specific solution. One alternative...
Corwin Joy
corwinjoy
Offline Send Email
Nov 7, 2003
2:14 am
741 Corwin Joy
corwinjoy
Offline Send Email
Nov 7, 2003
2:15 am
742
There is a bunch of junk in the attached files, the main logic for sequences is just this. Suppose you have a table like this: PST_IDS ( TABLENAME as VARCHAR2,...
Corwin Joy
corwinjoy
Offline Send Email
Nov 7, 2003
6:13 pm
743
Can't seem to located anything saying that they are cached, so I am assuming that they are not. so this will do two calls to the db? indexed_view.find("dog"); ...
Son Of a Gunk
sonofagunk
Offline Send Email
Nov 7, 2003
6:17 pm
744
In fact, and IndexedDBView loads the entire table into memory into a multiset or hash_multiset where the index for lookup is automatically generated from the...
Corwin Joy
corwinjoy
Offline Send Email
Nov 7, 2003
6:22 pm
745
Thanks for that info. I am looking up in a HUGE table. I only used a limited number of them a day (but they vary from day to day), but the ones I do use are...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 7, 2003
10:23 pm
746
Oops, I sent this from Sally's account. We were talking and found out we work for the same company (and the same building). It is nice to have someone to...
Sally McBride
pookiebearbo...
Offline Send Email
Nov 7, 2003
10:23 pm
Messages 717 - 746 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