How to Pin Data in Toad for Oracle - toad

How to Pin a result set so it is not overwritten by a subsequent query in TOAD for Oracle (Expert).
I have checked out all options, but unable to pin data.
Thanks

You can open multiple Schema Browser windows (Database | Schema browser) in the particular session (connection). And multiple Editor windows (Database | Editor) too. In each Editor window you can open multiple SQL tabs.
(Toad for Oracle Xpert 9.7.2.5)

Related

Oracle Apex - Interactive report download issue

I have Interactive report with 15 columns.
For downloading report i used Download function from Action menu.
When I tried to download report in csv format with 10 selected coulmn.. Csv does not contain all that selected 10 columns.
Only few columns are shown in csv file
Oracle APEX uses the same query defined for HTML output to generate the csv for download, it applies same rules that is applied on HTML(from apex builder) report.
If you are seeing any gaps, that must be due to settings.
Try to open the report in incognito mode and download it.

Export interactive grid to excel in Oracle APEX

I want to export the Interactive Grid data into an excel. How can I do that. In the download option in Actions tab, it only has csv and HTML option.
Can we add an option there to download the report in excel. Or can we add a button separtely, on click of which the report can be downloaded in xls.
Thanks,
Abha
CSV is Excel. Not a true MS Excel file (i.e. XLS or XLSX), but - Excel opens a Comma-Separated-Values file without any problems.
So - export as CSV, open with Excel. Should be just fine.
Yes, interactive reports and grids support exporting to native Excel (xlsx), as well as Word (rtf) and PDF.
To enable this there are multiple options:
Oracle BI Publisher
FOP (ORDS)
APEX Office Print (AOP)
Once you have configured the print server (this is an APEX instance-wide setting), you can then enable the output options in your IR or IG regions.
https://insum.ca/oracle-apex-printing-options/
(note: I'm not sure that all the other printing options mentioned in this link support interactive reports or grids)

Auto Create statistics in Azure SQL DW

In Azure SQL Datawarehouse i just used the below tsql code to enable auto statistics creation.The command ran successfully , but when i checked in database properties under option tab Auto Create Statistics is till set to False.
ALTER DATABASE MyDB SET AUTO_CREATE_STATISTICS ON;
Please let me know if i'm missing here something. I have the db_owner access for the database also.
I'm guessing that you are using SQL Server Management Studio.
I was able to reproduce the symptom by turning off and on auto_create_statistics.
The issue appears to be that the database metadata is cached in SSMS. Right-click the database name and select "Refresh" before selecting "Properties". Using this method I got the correct setting for auto_create_statistics showing up each time.
My tests were done using SSMS 17.7
(The need to refresh the database metadata can also occur when adding or removing tables, columns, etc)
You can also query sys.databases, the is_auto_create_stats_on column.

Power BI DirectQuery mode - "Couldn't load the model schema". But able to do transformations in Query editor

I have been trying to connect to a SQL server DB via Power BI Desktop. The connection mode selected is DirectQuery . I am able to establish the connection to the SQL db. But in the report viewer i don't see the table loaded. And i keep getting this popup saying - Unexpected error. Couldn't load the model schema.
But when i open the query editor, i am able to see the table contents and do some transformations. But when trying to load it doesn't come up in the report viewer Fields pane on the right. Again get this error- Couldn't load the model schema.
I have tried the resolution related to windows defender. But get that -resetplatform is not an valid option.
Users can work around this issue by running the following command from
an elevated command prompt: "C:\Program Files\Windows
Defender\MpCmdRun.exe –resetplatform"
In case it helps someone, this is how i solved it.
When trying to connect to SQL server from PBI desktop, skip giving the port number in the server input box. Although the tool tip mentions u can enter as server:port.
By connecting this way, i was able to load the model both in report viewer as well as see data and transform on Query editor.
A very trivial issue. but took quite a while to figure out.
I had the exact same problem on my Windows 7 machine. I then installed the latest Power BI version (Version: 2.62.5222.761 64-bit (September 2018)) from the Microsoft store on my Windows 10 machine. Surprisingly, it worked there.

Toad Data Point to export sql statement from Oracle to Sql Server?

How can I export data from an Oracle database to a sql server database using Toad Data Point 3.8?
We have a remote Oracle database, and I need to export data from that DB to a sql server database. It's the same thing as the sql server Import/Export utility, but using Toad Data Point. I have read-only access to the remote Oracle DB, but I have owner access to the local sql server DB.
What I've tried:
I was looking at this Toad link but I don't have a Schema Browser; I only have and "Object Explorer". I right-click on the table, but I don't see the option "Copy Data to Another Schema".
I then tried right-clicking table and "Export Wizard", but I don't see an option to export to another database. All the options are to hard file (sql script, CSV, tab-delimited, etc). I would choose "Sql Script" but there's so much data that the script would just be enormous.
Finally, I tried "Data Export Wizard" and I don't see an option to export to a sql server database. So I'm stuck.
I ended up using the Import Wizard, from the Oracle DB to the SQL Server DB. Very simple.