![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#3
| |||
| |||
|
|
In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#4
| |||
| |||
|
|
Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#5
| |||
| |||
|
|
If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#6
| |||
| |||
|
|
Bill, Would adding the indexes via the Edit Table Design function mess up any indexes defined by Btrieve? For instance if by some coincidence the index names were the same etc would the DDF index overwrite the Btrieve index? Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:4198D1E0.5D6CE16F (AT) cncdsl (DOT) com... If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#7
| |||
| |||
|
|
If you are in "UNLINKED" mode (see lower right corner), then the changes will impact the DDF's ONLY. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill, Would adding the indexes via the Edit Table Design function mess up any indexes defined by Btrieve? For instance if by some coincidence the index names were the same etc would the DDF index overwrite the Btrieve index? Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:4198D1E0.5D6CE16F (AT) cncdsl (DOT) com... If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#8
| |||
| |||
|
|
Bill, I am in Linked mode...Being fairly new to Btrieve and Pervasive what does this mean? Will adding indexes here mess up the Btrieve indexes? If this is the case can you point me towards a good concise guide for using the Btrieve API from Visual Basic. Many thanks, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:419A9889.D221F7CA (AT) cncdsl (DOT) com... If you are in "UNLINKED" mode (see lower right corner), then the changes will impact the DDF's ONLY. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill, Would adding the indexes via the Edit Table Design function mess up any indexes defined by Btrieve? For instance if by some coincidence the index names were the same etc would the DDF index overwrite the Btrieve index? Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:4198D1E0.5D6CE16F (AT) cncdsl (DOT) com... If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#9
| |||
| |||
|
|
In addition to this, I have just had the index names confirmed by the Software developer whos data I am accessing. Even though I now have the name I still cant set the index. Is this due to the fact that they are not contatained within the DDF files? Chris "Chris Smith" <chris (AT) bitsltd (DOT) co.uk> wrote in message news:cnfj0v$nrj$1 (AT) news6 (DOT) svr.pol.co.uk... Bill, I am in Linked mode...Being fairly new to Btrieve and Pervasive what does this mean? Will adding indexes here mess up the Btrieve indexes? If this is the case can you point me towards a good concise guide for using the Btrieve API from Visual Basic. Many thanks, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:419A9889.D221F7CA (AT) cncdsl (DOT) com... If you are in "UNLINKED" mode (see lower right corner), then the changes will impact the DDF's ONLY. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill, Would adding the indexes via the Edit Table Design function mess up any indexes defined by Btrieve? For instance if by some coincidence the index names were the same etc would the DDF index overwrite the Btrieve index? Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:4198D1E0.5D6CE16F (AT) cncdsl (DOT) com... If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
#10
| |||
| |||
|
|
Bill, Would adding the indexes via the Edit Table Design function mess up any indexes defined by Btrieve? For instance if by some coincidence the index names were the same etc would the DDF index overwrite the Btrieve index? Kind regards, Chris Smith |
|
"Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:4198D1E0.5D6CE16F (AT) cncdsl (DOT) com... If you don't see them, then they are defined by Btrieve, but NOT by the DDF's. You may be able to add the index definitions from the Edit Table Design function. However, this tool is known to be quite flaky, so I would STRONGLY recommend making a backup of your DDF's before starting, and periodically as you successfully complete each index. You can get a copy of the free DOS-based FPrint from www.goldstarsoftware.com/download.asp -- the purchased version is fairly cheap and offers a few more options, product support, and true Win32 operations. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Bill I have looked in the PCC at the Edit table design and there is no information present for the index names / strucutre. I know the indexes exist as I can see the structure in BtrSearch but the actual indexes names are knowhere to be seen. The DDF printing utility sounds useful. Can you let me know how to obtain a copy / license. Kind regards, Chris Smith "Bill Bach" <bbach (AT) cncdsl (DOT) com> wrote in message news:41952EB6.4A2476F (AT) cncdsl (DOT) com... In the Pervasive Control Center, right click on the table and select "Tasks/Edit Table Design". This window will provide the index names. If this isn't quite so useful to you, then I have a DDF printing utility that may be helpful. It takes the DDF definitions, reads them from the Btrieve layer, and prints out (to screen, but it can also be sent to a file or to the printer) the data file definitions. I believe the registered version will display index names, as well as the fields included in there. Goldstar Software Inc. Building on Btrieve(R) for the Future(SM) Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Pervasive.SQL Service & Support Classes *** Chicago: November 16-19, 2004: See our web site for details! Chris Smith wrote: Hello, I am using OLEDB to access SQL2000i data from Visual Basic. I have the ddf files and have sucessfully created the database within SQL2000i. I can look at the table structure etc but I cannot see any information relating to the indexes. The properties state that there are 5 indexes. This is also confirmed by BtrSearch where I can also see how the indexes are segmented. However to use the indexes in OLEDB, I need to know the index names. Any ideas how I can either get the index names out of SQL 2000i or get the index names programatically? Cheers Chris |
![]() |
| Thread Tools | |
| Display Modes | |
| |