If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > API vs. SQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-25-04, 06:23
alions alions is offline
Registered User
 
Join Date: Feb 2004
Location: Germany
Posts: 3
API vs. SQL

Hi all,

I'm an intern in a software company and thus I'm really new at the whole DB2 thing. So I hope you don't mind if I ask some newb questions.

As I see it there are 2 general possibilities to get any kind of snapshot (besides "get snapshot for ..." command). These are to use the db2GetSnapshot() API or to issue SQL queries like "select * from table (snapshot_dbm (-1)) as snapshot_dbm".
I also read that SQL queries for snapshot function are only available in DB2 V8. Is that correct?

My problem now is to find out, which one is the most efficient way to access the snapshot data. Does anyone have some experience on using db2getsnapshot api? Can you also access single values without taking an entire snapshot?

Thanks in advance

alions
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On