Documentum DQL Editor? - documentum

I am using Documentum which is on the remote server.I want to see the data in dm_sysobject table.Through my research I found that we can see the table data in DQL Editor.But,I am unable to find from where can I get this DQL Editor.Do I need to install this separately?.Thanks in Advance

If you use Documentum Administrator go to Tools -> DQL Editor.
If you want to use standalone application you can use DQMan or Repoint.

Instead of installing a 3rd party DQL Editor, you might want to use idql/idql32 as built-in DQL Editor.

You can download free java based small dql editor tool from
http://www.icontentxlabs.com/ which can dump on right click , export to excel,
no installation needed just copy paste

Related

Can I export existing Salesforce reports by SOQL even if they were made in the SF UI?

I am relocating our Salesforce reports from Salesforce to another tool. Salesforce has SOQL and the new system has SQL so I think the simplest way to migrate is to modify the SOQL statements to SQL, rather than recreate each report using the new tool's UI.
Can I do this? I've looked up other similar questions here on Stackoverflow, but the answers are far more complex than I can understand. I need extremely basic instructions on where to find the SOQL for each report in Salesforce.
Thank you!
Salesforce doesn't have a native tool to convert a Report to SOQL. There are a couple of workarounds to get close to a 1:1 conversion but both will still require some manual input on your part.
Using Change Sets
Install the Salesforce Change Set Helper Chrome Extension
Create an Outbound Change Set and add your reports as components
Click the Download metadata button (this comes from the extension)
Unzip the file
Open one of the .report files in a text editor
From here you can use an XML parser to programmatically generate a string for your SELECT criteria by targeting anything between the <columns> tags. Your FROM criteria can be targeted through the <reportType> tags.
Manual
Download the Salesforce Inspector Chrome Extension
Pull up your report in one window
In another window, open your Salesforce org and click the < but on the right side of your screen (this is from the Extension)
Click Export Data
Reference your report while writing your SOQL query
*Reminder that format should be something like SELECT Insert column's API names comma separated, FROM Insert object API name WHERE Insert filters ORDER BY Insert column to sort by and include ASC for ascending and DESC for descending
Salesforce SOQL Documentation

Netsuite: SELECT * FROM [a few tables] - advice needed

I'm looking to export all fields from a few Netsuite tables (Sales Orders, Companies, custom objects) to do some excel analysis. (I'm an admin in NS) Is there a way I can do that without having to drag every single field into list views? If I can use SQL, even better! Or an excel Power Query! Thanks in advance!
You could use OBDC, go SETUP-->COMPANY--> ENABLE FEATURES--> ANALYTICS TAB--> ENABLE SUITEANALYTICS CONNECT, then download your ODBC DRIVERS, In your main page under Settings you will find Set Up SuiteAnalytics Connect and you will find the download link of the odbc driver, after the install you in MSSQL you can add NETSUITE as linked server .

Oracle - View source of builtin package

How can I view the source of a builtin package in Oracle 19c?
I'm interested in the SYS.UTL_SMTP package.
I don't have access to the file system, only login to the database.
Have you tried googling it?
If you google search plsql unwrap the first link is an online tool that allows you to paste in wrapped code and will show you the unwrapped code.

Microsoft SQL Server in Sublime Text 2?

I am a sublime text lover but at my job I am forced to use Microsoft Visual Studio along with Microsoft SQL Server. I want to possibly just use sublime since I'm quite familiar with it and my workflow is just so much better. To do so I would need to know how to run the SQL queries in sublime text? I have been doing some research and found a couple builds but none that work so I'm wondering if it's even possible if so how?
It's difficult to create complex IDE from ST2 due it's ascetic UI API.
Even OracleSQL package doesn't give the power of PL/SQL Developer or Toad for Oracle.
So, maybe it's better to join SQLMS with ST. For example write in ST, but run, debug and edit in SQLMS.
Here is my setup for using ST and SQLMS together.
Set up ST to auto re-read file changes if file saved
Set up SQLMS to auto re-read file changes if file saved
Set up External Tool - "Open in Sublime Text" in SQLMS and bind it to ctrl+o,ctrl+s
command: C:\Portable\Sublime Text 2\sublime_text.exe
args: $(ItemPath):$(CurLine):$(CurCol)
dir: $(ItemDir)
Install improved "SQL Ex.tmLanguage" syntax highlight from here
After setup you can open same file in ST and SQLMS and switch between editors easily.
Late to this but was just trying to do the same thing.
A very crude solution I just tested in ST3 uses the following (you need to create a new Build system in ST and then associate it with your SQL file)
{
"cmd": ["sqlcmd", "-E", "-i", "$file"]
}
It uses a trusted connection to SQL and assumes the sql script will either run as-is in the default database, contains a "USE" statement or table names are otherwise fully qualified.
For additional tweaking, run sqlcmd /? from a command prompt or read more here
TSQL Easy is a package you can download which has some tools to run TSQL and SQL scripts. It also has good TSQL syntax highlighting in sublime text 2. Actually it's the only TSQL syntax highlighting I've found so far.
You can get the package here (or through package control): https://github.com/tosher/TSQLEasy

Editing SQL query with Visual Studio 2008

Would you recommend me the best approach to edit SQL query with Visual Studio 2008 Professional, please?
I know I can open Query window from context menu in Server Explorer and edit text in SQL Pane. But unfortunately I am not allowed to save query to a file and Find and Replace commands are not working there.
Alternatively I can open text file with extension .SQL in Visual Studio editor obtaining syntax highlighting and full editing capabilities but losing possibility to execute the script.
Now I copy query text from one window to another and back but I hope there is better solution.
Many thanks for suggestions!
When I have to connect to Sql Server, I use NetBeans, as it has a number of features that make it much easier to use than Visual Studio. One of these is intellisense, which is very useful when you have an alias for a table name and lots of long field names. The general handling of connections and connection pools is also much cleaner in NetBeans. I could go on, but suggest trying it for yourself. You will almost certainly need the Sql Server jdbc driver, which can be downloaded from http://msdn.microsoft.com/en-us/data/aa937724.aspx
If you create a Database project within your solution in Visual Studio, then you can set up a default database connection for that project. Then any *.sql files that are included in the database project can be executed against that connection. What I usually do is select the text to be exectued and right-click it, then select "Run Selection".
You can set up any number of database connections under the "Database References" node in the solution explorer, and choose the one you want to run your query against.
Wow you are right, this is a real pain. Would it be acceptable for you to use a local copy of the SQL Management Studio (the name might be wrong)? You would be outside of VS but you could still edit your query and run it at the same time. Definitely not optimal but better than nothing.
Good luck.