In one of my working project I need to migrate an old application with an access database.
In this database there is a query object i'd need to access, however when I try to display the SQL view of the object I have the error:
And I cannot access the content of it in order to fix the error or simply getting it for the sake of migrating it. It's worth noting that the design view works and also the sql statement
select * from qry_name;
I found a question with essentially the same issue here and tried already all the propositions there but unfortunately without any luck.
So, how can I get the SQL content? Is there any way? Any help would be appreciated!
Thank you.
Edit:
for further clarification even the statement:
?Currentdb.QueryDefs("qry_name").SQL
leads to the same popup error at runtime.
Write the following in the debug window:
?Currentdb.QueryDefs("qry_name").SQL
Related
I like MySql Workbench but I am looking for a way to make it's view somewhat similar to SQL Server management.
1) instead of having one windows for error output and one window for the results, I would like to put both on the same page. so if there is an error i see the error but if there is not error i see the results in the same window.
2) Is there a way to separate the tree view on the left so that view and on their own node instead of having them all mixed up with the tables?
I would appreciate your help.
Thanks you
Neither of these wishes are possible currently. You can however open feature requests for them on http://bugs.mysql.com, so we can take them into consideration.
I have my current project set up so that I can query across two databases on two different servers using the same LINQ to SQL data context (as outlined here.)
However, when I'm trying to call a function that is on the database that I manually edited the file for, I am getting errors.
I first noticed that the Source field in the Properties was grayed out, so I had to go into the xml of the dmbl file to edit the source. The Source now shows up correctly (DEVSQL01.MyDB.dbo.MyFunction), but when I try to call the function I get an error saying Invalid column name 'DEVSQL01'.
Does anybody know if what I'm trying to do is possible?
I ended up just recreating the function on the second database. If anybody finds another way to do it I'd love to hear it.
I have some corrupted data, an individual entry, in the database for my Magento installation. Since I can see the corrupted data displaying, I'd like to use a Magento extension to show me the database call displaying that data onscreen. Does such a tool exist? If not, what would be the best tool for SQL to gather this information?
You can see the SQL statement used to load a collection by using $collection->getSelect(). You'd have to narrow down the collection call first though, which might not be much help in your case.
http://blogs.ifuelinteractive.com/2009/10/18/logging-all-sql-in-magento/
I am using SQL developer, but while capturing Models step executes, it gives me following error
oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
Can anyone either tell me how to fix this issue or help in with an alternate way to migrate the database.
I used same tool but removed selected option of not copying the constraints and copy only tables structures and data. This fixed the issue.
This seems to be the hardest thing to get help with - there are no books, no useful google results, and borland's own help facilities are far to complicated for me to isolate the answers I need.
I want to make a connection to an already existing microsoft access database using builder.
I want to be able add/delete/read the records. that's all.
Or failing that. how do I create a simple database/table using builder. It would be ideal if I had an application that could create a table if it didn't already exist, then use that table from that point onwards.
I want to avoid creating DSNs. I want direct access to the database from builder.
If you could point me in the direction of a good online tutorial for this that would be a start. If you could actually provide the help yourself (ie tell me how to do it, rather than show me an article) that would be great and I'd be very greatful.
in portuguese:
http://www.caloni.com.br/blog/archives/banco-de-dados-no-c-builder
see if fits your question
Have you looked at the VCL's ADO components yet? TADOConnection, TADOCommand, etc.