Import sql dump using phppgadmin - phppgadmin

I have phppgadmin version 5.0.4,
When I click button SQL (in top-right of phppgadmin ) I must obtain window for importing sql dumps right? but in this window is only input text field for pasting sql file content
Question: where is button choose file for importing sql dumps in phppgadmin?

The file input element is displayed while you are in some database detail after clicking the DB-specific menu item SQL only, not the upper right corner one.
You can find it easily on this image

Related

Only show tables in left hand column instead of databases in phpmyadmin

I updated phpmyadmin today via the ubuntu updater. I now have red exclamation marks next to all my databases. Also, when I click into a database, the tables within that db don't appear in the left hand pane, the databases remain. How can I change this? I don't see a PMA database either, so I think this has gone.
EDIT: I have noticed that I am able to click to the left of the db name to get the tables within that db to drop down like a tree structure. I want it like it was before though, with all the tables in that db to show.
With the version 4.4 of phpMyAdmin (soon to be released I think), it will be possible to revert back to old-style navigation panel with a database selector and only current databases' tables being displayed. For switching this behavior, set configuration option $cfg['ShowDatabasesNavigationAsTree'] to 'false'.

Default to the T-SQL Pane view within Visual Studio 2012 Database Project

When working with a Database Project in Visual Studio 2012, VS defaults to the "Design-View" pane when you add or edit a table. While you can work in split-screen mode, the T-SQL pane defaults to the bottom pane.
As I prefer to work with T-SQL directly as opposed to the designer, I constantly am switching to make the T-SQL pane the top-most editor in order to work with the object. Unfortunately, VS does not remember this preference, so each and every time I work with a table I must change to make the T-SQL pane appear on top as opposed to beneath the designer pane.
I've looked to see if there is a setting under Tools --> Options to control this behavior, but so far I have been unable to find a setting that does so. I've done a few google searches on the topic as well, but haven't found anything helpful for this particular case.
This is more of an annoyance than anything else for me, but as I am finding myself constantly switching panes I wonder if anyone knows of a setting, either within VS or the registry or some other config file that would force VS to either remember my preference or default to the T-SQL Pane on top of the Designer Pane?
If you want to get rid of the designer completely, try the following:
Right-click on the file, and select Open With...
Select Microsoft SQL Server Data Tools, T-SQL Editor,
Click on Set as Default
Click OK.
Next time you'll be able to simply double clicking the file to open it in T-SQL.

Button-Triggered Insert File Only Works If Portal Contains Edit Box for Container Field

I'm working with a FileMaker Pro 11 database that contains a portal. I've added an "attach file" button to the portal which triggers a simple "Insert File[portal_table::attachment_field]" script. When I click on the button, I would expect an insert file dialog box to appear. Instead, nothing happens.
If I add a text box to the portal, setting the text box's field to portal_table::attachment_field, the attach button starts working.
Why am I required to add this text box to the portal in order for my button-triggered script to work? Is there a way I can modify my script so that it works without requiring the text box's presence?
Thank you,
Ben
Generally speaking FileMaker's "Insert..." commands behave as if a user has done an action manually (activating script triggers, selecting the field, etc.) including the requirement that the field actually be displayed on the screen.
Unfortunately, as far as I am aware, there is not a way to use "Set Field" to specify a file to be added to a container field. One possible work-around is the following:
Freeze Window
Set Variable [$RecordIndex to RelatedTable::Index]
Go to Layout [A Layout of RelatedTable specifically for inserting files]
Enter Find Mode
Set Field [Index to $RecordIndex]
Perform Find
Insert File
Go to Layout [Original Layout]
Alternately, it may be easier to just include the field on the layout at a very small size (1 pixel x 1 pixel).

visio 2007 database properties window doesn't show

I know this is probably not the right place to ask this question, but I don't know where else to turn. I tried google, but it hasn't helped me this time.
I have Visio 2007 Professional. I am trying to create a database model, complete with primary keys, foreign keys, and relationships. The problem is that I can't figure out how to get the database properties window to show. I tried double clicking the table entity, as well as the relationship entity, but nothing shows up. I tried running the script on this page, but it didn't work for me.
Any suggestions?
TIA!
Close Visio, and open again, this time go through home page choosing the Data Model Diagram template. If you try opening the template from the Shapes window it sometimes doesn't show up. Closing and restarting worked for me :)
Click on the database tab at the top, and check/uncheck database properties.
Try Tools > Options > Advanced and confirm that the Enable Automation Events checkbox is checked.
I've found that this happens when I open the document as a different type. For example, I typically like to include the UML diagrams and Database diagrams for a project in the same document.
Unfortunately, I've found that the Model Explorer and UML menu won't show in a database templated file, and the Database Menu and Database Properties window won't show when creating a UML templated file.
All I can suggest is to ensure you're opening the right type of template, and you should be ok.
Right-click an entity or object in your drawing, and then click Database Properties.
source: http://support.microsoft.com/kb/826419
I found this question looking for an answer for Visio 2013 and the suggestions here led me to an answer:
* Select the entity
* On the Format tab, click the "Select Contents" option
* Right click on the entity and "Set Primary and Foreign key" options are both available
I've had the same the problem. As I use multiple monitors and I've dragged the tab to the secondary monitor and when returning to a single one, the tab would disappear. I had to turn both of them on again in order to find and drag the tab to the main view.

Can Rhapsody be configured to use an external source code editor?

I am using Rational Rhapsody for Linux and is wondering if it is possible to configure it to open source code with an external editor instead of the built in editor. I would prefer to be able to edit code using emacs via emacsclient.
According to the documentation the following procedure should set Rhapsody to use an external editor but editing that property has no apparent effect when I attempt to edit the code of one of my classes.
Select File > Project Properties.
Select the Properties tab.
Navigate to the General::Model::EditorCommandLine property.
Click in the property value call in the right column to activate the field, then click the ellipsis (...) to open the Browse for File window.
Browse to the location of the editor you want to use (for example, Notepad) and select the editor. Click OK to close the window. The product displays the path in the property value field.
Click OK.
Have you tried the Rhapsody Eclipse Workflow integration? With that you can open your Rhapsody Model inside Eclipse, and use Eclipse as editor too.
Be careful, not all features from Rhapsody are available this way.
I have only used Rhapsody on Windows, but you have to click the "..." button to get it to break out to the external editor to edit something that showing in the properties dialog. If you want to use the external editor in this way, you have to use one that Rhapsody can execute, and then wait for it to exit, as Rhapsody will create a temp file, open the editor on the temp file, and then import the temp file back into the dialog when you close the editor.

Resources