I have to check what all plugins are deployed in my all the environments of OIM.
I can do MDS export to check the same.
But I need a quicker solution to do the same.
Is there a SQL query to check the same?
Try using following SQL:
select name,zipid from plugins;
Related
Just spent the day figuring out how to properly use the LookupSet method only to find out it isn't supported on my production database which is NOT running SQL Server 2008 R2 (it is just running ol' SQL Server 2008).
So, is there a way to re-produce the functionality so it will work with old SQL Server 2008?
Thanks - wg
As Gordon Linoff points out in the comments, this can usually be implemented in the SQL query. If the datasource for your target of the LookupSet is similar enough to the the main query, then you can accomplish this with a Common Table Expression or a correlated subquery in SQL.
Your could write custom code - which I wouldn't recommend because it's probably simpler to combine the data relationally first in your query. If one of the data sources is non-relational, then use SSIS to get it into a table and then use a query to combine the two sets of data.
Is it possible to update a table in SQL Server using a trigger in MySQL. The scenario is like this.
When a table is updated in MySQL, a corresponding update is to be done in SQL Server for the purpose of syncing certain fields. I understand that the reverse is possible using a linked server in SQL Server.
You can write a UDF function that would update data in the SQL Server. Then call this UDF from the trigger.
Here's some information which may be of help regarding linking SQL Server and MySQL
http://forums.mysql.com/read.php?60,123221,123221
I'm afraid I've no personal experience in the matter as I thankfully have MySQL servers across the board, however had a scan through the links in the above and at least one of them should be able to assist.
I was just wondering whether the FileMaker Pro command "ExecuteSQL()" supports subqueries within the SQL Query?
This is the query that I have got at the moment:
"SELECT Google_Calendar FROM SCHEDULE WHERE Group_ID = ( SELECT Group_ID FROM SCHEDULE WHERE Schedule_ID = "& EscapeSQL( GSPNo( 1 ) ) &" )"
I keep getting an error and I know all of the fields are correct and the actual query would work in something like PHPMyAdmin.
So, does anyone know whether this would work or is there some limitations on the queries?
Thanks!
If you're referring to the script step "Execute SQL", then it can only work with external data sources. It cannot run SQL queries against FileMaker tables. If you're referring to the internal SQL API which is available through some plug-ins (and via FileMaker ODBC/JDBC driver), then yes, this API does support subqueries.
More recent versions of Filemaker (certainly 13+) will indeed let you do this now. Statements are limited to SELECT, but you can use subqueries, according to the docs.
I would like to write a query with data based on a SQL Server table and insert the results into a SQL Azure table. Is this possible in SQL Server Management Studio?
For example:
SELECT stuff
INTO AzureTable
FROM SqlServerTable
I suppose it's possible to do something similar to that with a linked server to your SQL Azure host, but using SELECT INTO explicitly will not work - you'd need the destination table to exist first (see this MSDN blog post where they describe why SELECT INTO is not supported in SQL Azure).
If the destination tables don't already exist, you can script the objects in Management Studio (as described here) or use tools like SQL Compare from Red Gate to do the grunt work for you.
Once the destination tables exist, you can just write insert statements (again assuming a linked server) or you could use a slightly different approach. For example, have you looked at the SQL Azure Migration Wizard on Codeplex or SQL Data Compare from Red Gate?
alt text http://www.freeimagehosting.net/uploads/64fac9c8c4.gif
is it possible to generate sql scripts from for all tables ? i want to generate the sql script and import into another database server
Select the tables you want to export, right click, scripts>create table script. It works in mysql, not sure about oracle.
For anyone on the 3.4.0 version on OSX, I had to do it this way:
Select the DB
Session >> SQL Server >> Generate T-SQL Script
Select the Objects/Tables wanted
Saves to a file, but gives you no progress indicator, so give it a while to run.