I use oracle 11g , and sql develper stop working becouse of virus attack :(
THE PROBLEM is that i need to restore my database schema , the data is not important to recover , sql plus work properly , can i recover the schema from sql plus or folders of oracle program ???
pleaaaaaaaaaaaaaaaaaaaaaaaaaaaase help :(
Why would a virus that caused SQL Developer to stop working have an impact on the database schema? You also write that SQLPlus works. Can you connect to the database with SQLPLus? Please provide clearer information on what the problem is.
Related
I am using Oracle Sql Developer (Version 18.4.0.376).In Sql editor all DBMS_OUTPUT.PUT_LINE are not disabled automatically.
Please refer the below screen shots
Can any one suggest me, How to get ride this issue.
Your database is too old.
10g database and the jdbc driver we use from 2019 won't play nice for getting dbms output.
You're using xe - get a newer one, either 11g or 18c. Both are still free.
Install the latest database like 18 or 19c
Establish the oracle connection with user credentials
Open the sql editor and execute the sample pl/sql procedure
Choose the dbms output window from views menu and set the buffer size as you required.
I restored a site and database onto another machine, but cannot run the application because I am getting this error:
InnerException message: Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the equal to operation.
Both machines are running MS SQL Server 2012 Standard edition and even the same minor version. I saw the other posts on this error, but could not find any tables or columns as Latin1_General_CI_AS. The database properties shows that the collation is SQL_Latin1_General_CP1_CI_AS. Any ideas on ow to fix this?
I changed the database servers collation and that worked. Apparently, temp tables were being populated by a stored procedure and choking since the database and the server were different collation.
I'm building a web application which soon I'll be promoting to production. This application has a login screen, as you know I used the integrated DB for developing. Now I want to move this database to a full SQL Server 2005. I'm using the aspnet_regsql.exe to create my membership tables and stored procedures in the SQL Server 2005 but I'm getting an error:
An error occurred during the execution of the SQL file 'InstallMembership.sql'. The SQL error number is 207 and the SqlException message is: Invalid column name 'FailedPasswordAnswerAttemptWindowStart'.
I google this for half of the day already and I can't seem to fine what's wrong, does anybody have ANY ideas on what am I doing wrong here? Any help will be really appreciate it.
The easiest way to deploy a brand new database to a remote server is to just publish the database from within Visual Studio. Once you do that you have the scheme and data all in one script. You then access your server either via a local SQL manager connection or a remote manager and run the script on your remote database.
The site 4GuysFromRolla has a nice little walk through with graphics which describe how to accomplish the publishing of your local database to your hosted one.
Good luck, and hope this helps you out some.
Go through the *.sql script file and see where that column reference is. Then you'll be able to see what exactly the script is doing to cause this error. My guess would be that it is getting caught up on referential integrity. If it is trying to create a foreign key constraint that that table/column does not exist then you'll see that error.
But back to the original question at hand. You don't need to recreate your whole database. That script file is to lay down the Membership for an empty database. If you have a working dev database you can just back it up and restore it to a production instance. No need to rebuild the membership database objects.
I am working on visual studio 2010 and i have a database in Server Explorer that i can see that is not in the App_data in the solution explorer.. I need to copy it somewhere to upload it to the host..
I think the database is suitable for SQL server2005 , cause that is the only sql server version installed on my computer with the vs2010.
Here are my connection string:
<add name="YourGuruDB" connectionString="Data Source=DIMA-00AA1DA557;Initial Catalog=model;Integrated Security=True" />
You can back up the database by right click on db and choose back up. Restore it on your host /web server.
I would prefer to export you database schema and mandatory data as sql scripts using SSMS (SQL Server Management Studio) then run the script on the host.
Here is a great tutorial about it http://blog.sqlauthority.com/2007/08/21/sql-server-2005-create-script-to-copy-database-schema-and-all-the-objects-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/
EDIT: if you are using VS2010 there is a new feature in the deployment called "Package/Publish SQL" allow you to package your SQL DB. Here is a tutorial how to use it http://rachelappel.com/deployment/database-deployment-with-the-vs-2010-package-publish-database-tool/
Erm. your connection string says the database in use is model. That's a special database in SQL Server that's used a template for new databases (that's why you can't detach/copy). You're going to have all sorts of problems if you stick with that name.
But DO NOT rename it. You're going to have to create a new database - which will have everything you've put in model in it. Then remove everything you've added to model.
You should now be able to detach your new database and move it elsewhere.
Select you database in SQL Managment Studio.Then Tasks\Detach.
After this you can copy the database files to another distination. To make you database on-line again, just do Tasks\Attach.
P.S It's only the one among other approaches to accomplish your task.
i want to import data from MYOB through odbc connection
i have successfully created the odbc connection and select queries are working fine.
i want to have a look at MYOB database schema so that i can write queries to retrieve data.
how can i get the schema of the MYOB database?
i made this odbc connection in server explorer, the connection has been succeeded but the server explorer cant show me the list of tables/views in the connection.
kindly help me in this regard.
The following links to the developer resource kit. This kit contains a full shcema description.
http://myobaustralia.custhelp.com/cgi-bin/myobaustralia.cfg/php/enduser/std_adp.php?p_faqid=30548
If the above link expires try this one:
http://myob.com.au/partners/become-a-partner/developers-1258090671897
There are documentations found in the installation folder of the ODBC drivers.
usually found c:\MYOBODBC[xyz]\doc or help.
BTW, you need to have a developer key to enable write access to the MYOB database.
Hope this helps.