Any experts on BQ? I am wondering where the query is stored for these, is it local or in the repository?
Scott Bowers (BOB member since 2002-09-30)
Any experts on BQ? I am wondering where the query is stored for these, is it local or in the repository?
Scott Bowers (BOB member since 2002-09-30)
Iâm not an expert but I do know where the queries are stored.
When you create a query in BQ, a .bqy file is created and stored in the folder specified in your File Locations for BusinessQuery Files. There are some sub-folders involved (universe domain and universe name).
The .bqy files are completely separate from the excel file. There is a âpack workbookâ function that allows you to save the queries with the excel file.
Say you donât pack the workbook, and youâve saved an excel file into which youâve inserted queries (say that grammatically three times really fast). When you try to refresh the queries in that workbook, BQ will look in the current File Locations for the .bqy file and refresh the ones it finds. Interesting things happen here if youâre sharing excel files with others but forget to pack them.
KSG (BOB member since 2002-07-17)
Thanks, that answered my ? I looked at the files there and found a folder âUniverseâ and under that was my mystery query.
What happened was that I was doing testing and in the insert query menu, there was a query listed there that I hadnât created under the Universe name. So I wasnât sure if it was looking in the repository as well as the file system. Now I know, thanks
Scott
Scott Bowers (BOB member since 2002-09-30)
Just as an FYIâŚ
Nothing that is âin useâ can be stored in the repository. Items in the repository (documents, universes, etc.) are stored, not used. If you open a document from corporate documents via Webi, for example, you are first retrieving that document to the server (or your workstation via ZABO) and then opening the document. You canât refresh a document in the repository.
Dave
Dave Rathbun (BOB member since 2002-06-06)
Has anyone ever âdisectedâ a packed BQ workbook and found where the bqy files are stored? Iâve gotten far enough to know they are âsomewhereâ on the hidden #BusinessQuery# worksheet, but I canât find exactly where.
Dwayne Hoffpauir (BOB member since 2002-09-19)
I have never looked. Packed workbooks have their own challenges (weird things happen when you try to just refresh one query, for example). I donât like them very much.
KSG (BOB member since 2002-07-17)