For some tables, whenever I use Edit to edit the Oracle table, the Trigger and Sequence inputs show that a new trigger/sequence will be created. In this image, you can see that it will create #7...
If I change the drop-downs to a previously used trigger/sequence then click "OK", then re-open the edit window again, there is no change.
I'm using an Oracle Cloud database at the moment, but this database will be used in an 11.2 environment.
Related
I am going to use reusable mapping in odi 12c, but there is a problem. When ever I drag and drop a table into the environment, it gives me this error:
No object could be dropped on the diagram possibly because the chosen technologies in the "Create As" dialog were incorrect. Please, try again choosing a different technology.
I got confused and I do not know what is wrong because before that I was doing the same thing but suddenly this error pops out.
I was going to develop simple reusable mapping to save that for using in my other mapping.
I got the same error message. I couldn't drag and drop any of my tables - regardless of their source.
I did not find any solution except to delete my old mapping and create a new one.
Closing the ODI and launching again should help as a workaround for this error.
Use the command:
odi -clean -initialize
This will clear the cache and launch ODI and it should negate the error until next time.
Context: I'm running some simple queries in Azure Data Studio to query and manipulate data in a local instance of SQL Server 2019.
Question: When I query the table via "Select", the Run button is accessible. As soon as I Truncate the table, the Run button dims & is no longer accessible --__-- Why!? Once the button dims seems I'm unable to execute any other queries in the same query window afterwards. SMH.
Kinda ridiculous that I need to even post this question given how simple these 2 queries are. I expect this button to be easily accessible, similarly to SQL Server Management studio. I read through the docs and dont see anything about this button dimming issue. ADS is built with similar components to VSC so experience or knowledge in that tool may help. Can someone please share any tips/tricks they know on how to fix this issue?
https://learn.microsoft.com/en-us/sql/azure-data-studio/quickstart-sql-server?view=sql-server-ver15
After installing Oracle 12c database, Weblogic and forms.
I added button on blank form to show message or execute query.
In the runtime the when_button_pressed not work but if I press Ctrl+F11 it executes well.
Not that I move fmx file from Windows machine to Linux machine where weblogic and database are installed.
If you really named the trigger when_button_pressed, then this is the reason. Triggers - which are built-in into Forms - have a hyphen, not an underline, i.e. when-button-pressed is its correct name.
If this is not the case (but a matter of a typo), posting trigger code might help. What does it contain?
Update
I've just found what's causing it but couldn't solve it :
When running the project, VS copies the SDF file to bin\Debug, therefore, any changes made to it, even if only refreshing the DB will cause it to be overwritten...
I've created a quick and dirty project to test SQL CE 4.0, designed a small table and added an Update button to save entered data. So far everything works, I close and reopen the application, data is loaded and shown in the DataGridView.
There is one issue however, whenever I make any changes in Server Explorer such as just refreshing the connection,
when I launch the application again, all the data I entered is gone.
Did I miss something ?
How I created the database :
From Data Sources I've added a new data source, created a new connection, created a new database, answered yes for copying it to my project and modifying the connection.
Then from Server Explorer I created a new table, added columns
Finally, I reconfigured my data source so it recreates the data set, data table and the adapter
Here is a fix for it :
Do not copy it locally to the project folder, there won't be two versions with one overwriting the other.
I wish to add a Type Spec to an Oracle Form. Unfortunately, this option is disabled in the "New Program Unit" dialog:
Does anyone know how to add a Type Spec to an Oracle Form?
Version of Oracle Forms Builder: Forms [32 Bit] Version 10.1.2.0.2 (Production)
I've never created one with forms but one way to enable the type spec option is: from the Object Navigator expand the database objects node. Then select PL/SQL Stored Program Units now click the create button (so it brings up the dialogue box shown in your screen shot)
However this time the type spec option will be enabled.
Hope this helps.