oracle 10g:No command 'dbca' found , even when PATH set - oracle10g

I have properly set my PATH to $ORACLE_HOME/bin and rest of the exe are working fine but I am not seeing "dbca" anywhere in that directory, though each source says that it should be there. It also doesn't show up in my menu of Oracle 10g express edition.
Has someone faced similar problem ?

Oracle XE doesn't include dbca.
The licensing terms don't allow for more than once instance on a given server, see http://docs.oracle.com/cd/B25329_01/doc/license.102/b25456/toc.htm under "License Rights": "1. Express Edition is limited to a single instance on any server;" and given that XE comes with a preconfigured database it makes little sense to include dbca.

Related

Connect PostgreSQL to HammerDB

As the title says, I want to connect PostgreSQL (I'm using the 9.6 x86 version) to HammerDB, an open source database load testing and benchmarking tool (I'm interested in the TPC-C Benchmark).
The thing is that I can do this connection by using MS SQL Server (2014), because it is relatively easy. However, I'm not used to use PostgreSQL. When I try to create Virtual Users on HammerDB (that's the 1st step to do, then you should be able to perform the transactions) I get the following error:
Error in Virtual User 1: Failed to load Pgtcl - Postgres Library Error
I did some research about this, and I found that, and I quote "PostgreSQL is VERY particular about the libraries in its PATH - they have to be the right ones and ONLY the right ones any other configuration will cause errors".
The problem is that HammerDB couldn't load library libpgtcl.dll. There they mention that to fix the problem, one should check that the PostgreSQL bin directory has been added to the path during install, but at this point I'm totally lost and I don't know what to do. I simply can´t get what they mean and how to do it.
I hope at least one of you could help me. I would appreciate it a lot.
Sorry in advance for my mistakes in English, I'm a Spanish speaker.
Well, I have solved the problem, and it is very simple.
Everything is about Setting Windows PATH for PostgreSQL, and I found that here.
Open my Computer ==>
right click inside my computer and select properties ==>
Click on Advanced System Settings ==>
Environment Variables ==>
from the System Variables box select "PATH" ==>
Edit... ==>
Then add this at the end of whatever you find their
;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib
after that continue to click OK
That's all. So this is what you should do if you are having trouble when trying to connect PostgreSQL to HammerDB, and in general, when trying to use PostgreSQL tools.

How do I change an entity framework project to use Microsoft SQL Server

I am trying to debug a program using Entity Framework code first on my personal (work) computer.
We have recently had a domain migration, meaning that the user I log in as now is not the same that I used before. This caused me to loose access to the databases I had on the computer. To get around this, I have uninstalled everything to do with Microsoft SQL Server on the computer, and installed the latest version of Microsoft SQL Server, 2014 - 12.0.4213.0 . I then restored the database I need.
When I first tried to run the program, Visual Studio complained that the project is set up to use SQL Server Express, which was not installed. The recommended solution is to change the project to use SQL Server instead. To do this, I must click on "the database file" and follow the instructions. I have looked through the entire solution. There is a great many files, but I found no good candidate for "the database file."
It seems that my Google fu is not strong enough to find anything about this. So my question is: how do I change the project to use SQL Server?
I also have a second, related question. I tried to solve the problem by installing SQL Server Express. However, when I try to restore the database to this, no base appears in the drop down list. When I try to run the program now, I get another error:
Unable to create the file 'c:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\Timelønsblanket.mdf' because it already exists.
I guess that this is also why I cannot restore the database. What I have found in websearches warns that I should not manually delete .mdf files.
Any advice on what to do?
I have solved the problem. All that was needed was a correct connection string. No need to find a "database file".

Sql Server 2008 R2 Management Studio Yet Another intellisense issue

I have some issue I can't find any info about!
I did a clean install, and VS2010 was not yet installed when it occured!
My colleagues don't seem to have this issue while having exactly the same software!
Sql Server 2008 R2 is fully up to date with SP1 etc.
The issue:
My intellisense works!
For example when I type SELECT * FROM --> right after the last space I see my schema or database or table names!
What doesn't work is:
When I continue SELECT * FROM ma" --> now the database "master" is selected! Normally when I type "." (a dot) I would get SELECT * FROM master., but I just get SELECT * FROM ma.
This is SOOO annoying!!
I have fixed this in the past by installing a Management Studio from the NON R2 version, but I just have a fresh install and I would like to know how to fix this, or at least know the cause?
I hope I described my issue properly!
Kind regards,
Wim
This behavior was changed at some point. I have to type Enter and then the dot in SQL Server 2008 R2.
In SQL Server 2012, when you see the auto-complete list, you need another keystroke to actually select it (e.g. down-arrow), then the dot works. You may want to download SQL Server 2012 RC0 and see if the updated IntelliSense functionality is slightly better (though, admittedly, not perfect and still not how it used to work).
In case you're worried that SSMS 2012 is not worth your time yet, please see this question over on ASK SSC: http://ask.sqlservercentral.com/questions/86305/sql-server-2012-ready-to-use.html

Sybase:-where to save a new database

I have downloaded "SQL Anywhere-12" trial version from the Sybase website.
I use Windows Vista
It installed itself in two locations.The Sybase related folders are in:-
1) "C:\Program Files\.."
-sybase
-SQL Anywhere 12
2) "C:\Users\Public\Documents\SQL Anywhere 12\Samples"
-DBISQL 12.0.1
-SQL Anywhere 12
-Sybase Central 6.1.0
Is it how Sybase downloads itself? Or was there any error in downloading?
The reason I ask is I am not sure where to save any "NEW sybase-DATABASE" created?
Can anyone please help?
The stuff in C:\Users is sample databases, example code, scripts, stuff like that. The actual software is installed in C:\Program Files.
For SQL Anywhere-specific questions, you may want to check out sqlanywhere-forum.sap.com.
Disclaimer: I work for Sybase in SQL Anywhere engineering.

VS2005: access denied on SSRS data source

Environment: Visual Studio 2005, SSRS 2005 with Sharepoint 2007 integration
Have a project with two reports and one data source. Has already been deployed to production sharepoint farm.
Needs an enhancement. Change properties to point to test farm and try to deploy:
"Access to the path 'c:\documents and settings\\my documents....\RegLog.rds' is denied"
Path is correct, and properties of files are read-only (because the files are checked in to source control). Now, I understand that SSIS packages won't execute if they are read-only (which is stupid) but I am fairly certain I have deployed SSRS reports and data sources before without having to check them out first. On the other hand, I do know that deployment requires the file to be modified in some way. But the modified version will be in Sharepoint, not in visual studio, and its extension will be .rsds, not .rds (which is the VS name)
I also think it is unusual that the path has been lower-cased. Shouldn't matter in Windows, but it's the first time I have ever seen "documents and settings\\my documents" not all initial caps. So maybe it matters. But this project deployed before without problem.
I was having this problem as well. To fix it, I did a build of the report project (which before converting from 2005 to 2008 I'd never had to do before). Once I did that, it worked just fine.