[4EA2] connecting to SQL Server with the second instance
Connection to the early work of the Forum very well and I can choose the DB for this instance.
There is a second instance... In the ODI driver, can I use this syntax
JDBC:WebLogic:SQLServer://Server \instanceName_Reporting:1433
I tried to enter the host name server\instanceName tab in SQL Server... It does not work... Does not the 3.2 Developer either.
Any ideas? I don't know what the custom jdbc url must be if I tried to use the Advanced tab.
Found the answer
In the port field enter
1433/database; instance = second instance
3.2 I did not change any how xml, it works as it is.
Tags: Database
Similar Questions
-
How can I connect to SQL Server with the Muse?
I want to query items from database and load it to the front end. Is there a way that muse can connect to the sql server database?
It is not yet possible for Muse. Muse only creates .html pages. Connection to a database would require some php or other scripting to bind the data. It is beyond the scope of Muse and I don't see what is happening for a while.
-
Windows 7 64 bit Pro connects to SQL Server on the Windows Server 2008 R2 Standard domain
I put upgraded to Windows 7 Professional computers to Windows XP Professional, but I have a problem with getting one of software programs management of stock that allows us to connect to our SQL Server 2008 R2 Standard Windows on new Windows 7 computers.
Our computers are connected to a domain, and therefore SQL Server. Computers Windows XP allows each user to standard domain to connect and to connect to SQL Server via the stock management software.
But on the standard domain of Windows 7 Pro computer users unable to connect to SQL Server, but administrator accounts of area on the same Windows 7 Pro computers can connect to SQL Server through the inventory control program.
I have set up the alias of the server, the server name and port number via the SQL Server Client Network utility (
cliconfg.exe
) so I know this isn't the problem because it works when I'm logged on as a domain administrator.There seems to be something to do with permissions of user domain and Windows 7 Pro. There seems to be a change from Windows XP Pro to Windows 7 Pro that does not allow standard domain users to connect to a SQL Server. But I can't find anything about and cannot practice how to solve this problem, except to make all users, domain administrators that is obviously not a good thing to do. So basically I think I need to create a group policy that allows users to connect to SQL Server, but I have no experience in doing this and don't know where to start.
Thank you for all that you guys help and I hope someone can give me the solution to this problem.
This issue is beyond the scope of this site and must be placed on Technet or MSDN
-
filling of datetime column SQL Server with the data in the date column oracle
After a lot of "finangling", I think I have my link dg4msql works well between Oracle and MSSQL.
Now, what I'm trying to do, is fill a table in MSSQL with an Oracle table column values, whenever a new row is inserted in the Oracle table. I use a very simple trigger on the oracle table that goes basically like this:
mware is dblink to MSSQL database, oracle col worth DATE and mssql col is of type DATETIME
This is the relaxation: (edited to show only the column in question)
==================================================================================
CREATE or replace TRIGGER < oracleowner >. INSERT_INTO_NVDB
AFTER INSERT ON < oracleowner >. < oracletable > for each row
BEGIN
insert into '< mssqlowner > '. «< mssqltable > @mware «»
(
"load_date_time,"
)
VALUES)
: new.loading_date,.
);
END;
==================================================================================
Now, when you enter a record in the Oracle trigger triggers ok table but does not insert a date in the MSSQL table, the 'load_date_time' in the mssql table can have NULL values so I guess there just inserts a null value.
When I activate the triggers on the table MSSQL, which then takes these values and inserts them into another table with values from other tables, inserting in the Oracle table fails because the relaxation on the MSSQL database tries to pass the date (which is empty) table MSSQL in another table where the datetime field is not null.
I guess it's because Oracle date format is not compatible with MSSQL, which I think is "yyyy-mm-dd hh: mm:"- so I have to either convert the date format by default Oracle to match a MSSQL, or convert a char of the trigger value. (The developer of the side MSSQL says if I can convert it to a char value that should be ok too)
I think that it is probably better to leave it in the date format, the best way to do this would be to put an "alter session set nls_date_format ="at the beginning of the trigger?
Can I convert the date to char the trigger easily? If there is a better way to proceed in the way I approach it I'm all for it.
Thank you!Hello
Your best option is to explicitly convert dates Oracle in a format recognized by SQL * Server. It's more coding, but then you know exactly what is being inserted and you give more control, if anything changes. You can also code to handle null data.
I'm not sure than to try to change the format of date to 'alter session... ". "do what you want.
You can use "to_char" on a date into character data-To_char (
, "HH24:MI:SSxFF of MON-DD-YYYY") and use any mask format supported.
You also use 'to_date' to transform the character data in a date format, as well as 'to_char' and 'to_date' in combination.
For example -.SELECT TO_CHAR (TO_DATE (October 27, 98 ',' DD-MON-RR'), 'YYYY') 'Year' FROM DUAL;
This is all discussed in the documentation-
Oracle® database
SQL language reference
11g Release 2 (11.2)where it also describes the different format masks.
If you need further assistance on the use of to_date, to_char formats then ask in the forum SQL/PLSQL.where they have more experience.
Kind regards
Mike -
KB2760411, KB2760588, but now "can NOT CONNECT to" SQL Server!
Today I faced with the same Windows Update problems as many people - with KB2760411 and KB2760588 constantly reinstall - and try to resolve which included several reboots - system
())BUT now... a serious problem on one of these machines: cannot access SQL Server!
Fortunately, I did not run these updates on any * production * machines (I do updates on development machines, first) - this is a development machine - but I still need to get working SQL Server of this machine!I tried to use a Windows login to connect and tried to use a SQL Server to connect user, and what it in either, looks like the same message:
"Cannot connect to."
A network-related or instance-specific error all by establishing a connection to SQL Server. The server is not found or inaccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - could not open a connection to SQL Server) (Microsoft SQL Server, error: 2)Note that for windows, this server running Server 2003 (this is why I chose the value of the drop down menu 'windows xp', below).
and for sql server, run SQL Server 2005.Help!?
ALSO NOTE: I KNOW THIS ISN'T A "NETWORK ERROR."
because I get the same message when I remote desktop on the server and try it.
I did try to look in the windows Server 2003 event viewer, but saw nothing relevant under the security, system or Application.When I tried it with a sql server login, I clicked on "Show technical details" and got the below (blank lines removed and replaced with
the name of the server): ===================================
Unable to connect to.
===================================
A network-related or instance-specific error all by establishing a connection to SQL Server. The server is not found or inaccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - could not open a connection to SQL Server) (.Net SqlClient data provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
Error number: 2
Severity: 20
State: 0
------------------------------
Location of the program:
at System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj)
to System.Data.SqlClient.TdsParser.Connect (ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean ignoreSniOpenTimeout, encrypt Boolean trustServerCert, Boolean, Boolean integratedSecurity, SqlConnection owningObject)
to System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin (ServerInfo serverInfo, String newPassword, ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover (String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist (SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
to System.Data.SqlClient.SqlInternalConnectionTds... ctor (DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection (DbConnectionOptions options Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection (DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection (DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection (DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open)
to Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection (UIConnectionInfo above, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser)Thanks Nirmal for the acknowledgement of receipt.
As you can see, we ended up find us the answer.
(BOWL is not same document how to grant "Log on as a service", under Server 2008 R2, WHEN ON THE DOMAIN CONTROLLER.) BOWL documents which fully Server 2003, but only partially for Server 2008 R2.)But we are not given the opportunity to "mark as answer" on our own solution.
If YOU think that the INFORMATION we posted had value, YOU may mark as answer.The TechNet link:
Unable to connect to SQL Server... (includes advice in response: measures to grant permissions in Active Directory, the domain server * RUNNING SERVER 2008 R2 *).Thanks again.
-
connection between sql server and java
someone please tell me how to connect to sql server with java
Welcome to the forums.
The forums are a research tool very useful - by using the search box you will see near the top right. You will find that most of the questions that ask you, which, have already been asked on the forum, so it pays to research frist - that way you get a faster response and you can find other interesting things.
In this case, I did a quick search using SQL Server and found these threads that will probably help:
-
JDBC connection to sql server new to 11.2?
Hello experts,
in the "Oracle® Warehouse Builder Sources and targets Guide 11 g Release 2 (11.2) Chapter 6 connection via JDBC Data Sources.
There is a documentation on how to connect to SQL Server with a Driver for JDBC connection.
This is a new feature of the OWB 11 g Release 2 (11.2) or the jdbc connection is also possible with 11.1 OWB but undocumented?
Thanks in advance
Ed
Edited by: user11978426 the 13.01.2010 18:05
Edited by: user11978426 the 13.01.2010 15:06Hi Ed
As Carsten mentions his new and also more than simple JDBC, mapping can be set up and out of the box or customized models code assigned to the execution units. This allows you to have the use of two models of code based on the standards or in bulk models style movement data.
There are a few messages from Mark Rittman on SQL Server using these mappings in GR 11, 2 here:
http://www.rittmanmead.com/2009/09/21/code-templates-in-owb11gr2-part-1-Introduction-and-support-for-heterogeneous-databases/
http://www.rittmanmead.com/2009/09/21/code-templates-in-owb11gr2-part-2-introduction-to-code-template-mappings/
http://www.rittmanmead.com/2009/09/22/code-templates-in-owb11gr2-part-3-hybrid-code-template-mappings/
http://www.rittmanmead.com/2009/10/10/changed-data-capture-and-owb11gr2/I just posted a series on MySQL who see the error handling and export in bulk using MySQL:
http://blogs.Oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_open_connectivity.html
http://blogs.Oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_error_detection.html
http://blogs.Oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_bulk_extract.htmlSee you soon
David -
Failed to connect to SQL Server SQL Dev
Test the connection to Sql Server 2000 failed with "Unable to connect to MS SQL Server [ip address]." How can I find out why the connection failed? (bad port, invalid password, etc.). Thank you.Hello
The first things to know when you connect to MS SQL SERVER is the host or ip address and port.
If they are correct when you click RECOVER the DATABASE, you are able to see all the database on the server that you specified.
Ways of connection are ok, but of course user and password is perhaps incorrect at this level.
If no database is recovered, it means that the host or / and port are not correct.Then before to click TEST, you are able to recover the database with button to RECOVER the DATABASE?
Are you able to ping the remote computer (SQL SERVER) with the ip address or hostname?
Are you sure on the port for SQL Server?Kind regards
Mireille
-
Hello
I have MsSql running in the cluster environment and recently face the problem when there is a security agent installed in MsSql server, which the agent does nothing but only to capture the local database activity. The error led is as below:ID from step 1
Server NIBKSQLCLUST
Job name LSBackup_DRIB
Newspaper log shipping backup job step name.
Time 00:00:02
SQL severity 0
SQL Message ID 0
Operator by e-mail
Operator Net sent
Operator paged
Retries attempted 0
Message
2011-03-21 08:00:02.62 * error: could not retrieve parameters of backup for primary ID '26f46141-a676-41b2-8653-11f1b13de43a '. (Microsoft.SqlServer.Management.LogShipping) *.
2011-03-21 08:00:02.63 * error: could not connect to the server NIBKSQLCLUST. (Microsoft.SqlServer.ConnectionInfo) *.
2011-03-21 08:00:02.63 * error: a connection has been established with the server, but then an error occurred during the connection process. (provider: Named Pipes Provider, error: 0 - no process is on the other end of the pipe.) (.Net SqlClient data provider) *.
2011-03-21 08:00:02.63 - END OF THE TRANSACTION LOG BACKUP-
The process to run correctly when I turned off the security officer. Advice kindly the cause of this problem and is where all configurations should be set / changed in MsSql server.
Thank you
Boonlep coulibaly
Hello
I suggest you to send your request from the link and check.
-
Problem with the named instance of SQL Server using DG4ODBC
I am running DG4ODBC on a computer LINUX 64-bit with the Microsoft SQL Server driver is installed. I tested successfully with an instance of SQL Server that is not named (GENERALI_DSN). The named instance gives the following when trying to query:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[unixODBC] [Microsoft] [SQL Server Native Client 11.0] Connection timeout expired {HYT00} [unixODBC] [Microsoft] [SQL Server Native Client 11.0] SQL Server Network Interfaces: Error Search Server/Instance specified [xFFFFFFFF]. {NativeErr 08001, = - 1} [unixODBC] [Microsoft] [SQL Server Native Client 11.0] A network-related or instance-specific error all by establishing a connection to SQL Server. Server is not found or is not accessible. Check if the instance name is correct and if SQL Server is configured to allow remote connections. For more information, see SQL Server Books Online. {NativeErr 08001, = - 1}
ORA-02063: preceding 2 lines of DEVMISC
ODBC.ini
[GENERALI_DSN]
Driver = SQL Server Native Client 11.0
Server = CLTDMJCWBYZ.eu.scor.local
User = everest
Password = everest
Database = Everest_Generali[DEVMISC_DSN]
Driver = SQL Server Native Client 11.0
Server = [USVCLTDEVSQL02\DEVMISC]
User = link_user
Password = password1
Database = s/ninitDG4ODBC2.ora
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = DEVMISC_DSN
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so#
# ODBC specific environment variables
#
Set ODBCINI=/home/oracle/.odbc.iniListener.ora
SID_LIST_LISTENER_GW =
(SID_LIST =
(SID_DESC =
(SID_NAME = DG4ODBC)
(ORACLE_HOME=/home/oracle/product/11.2.0)
(ENV=LD_LIBRARY_PATH=/usr/lib64:/home/oracle/product/11.2.0/lib:/opt/micro
Soft/SQLNCLI/lib)
(PROGRAM = dg4odbc)
)
(SID_DESC =
(SID_NAME = DG4ODBC2)
(ORACLE_HOME=/home/oracle/product/11.2.0)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/home/oracle/product/11.2.0/lib:/opt/micr
OSoft/SQLNCLI/lib)
(PROGRAM = dg4odbc)
)
)LISTENER_GW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = usvcltprdoragw) (PORT = 1521))
)
)tnsnames.ora
DG4ODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST=usvcltprdoragw) (PORT = 1521))
(CONNECT_DATA = (SID = DG4ODBC))
(HS = OK)
)DG4ODBC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST=usvcltprdoragw) (PORT = 1521))
(CONNECT_DATA = (SID = DG4ODBC2))
(HS = OK)
)I can't understand why the named instance is not working but the other is. Any help would be greatly appreciated!
Have you checked with the ODBC test utility isql (it is installed by default when you install the unixODBC Driver Manager) If your ODBC driver can connect at all to this named instance? I doubt it will work either as there was that a blog has commented by MS engineer:
which States that the instance named connections are not supported using this driver.
-Klaus
-
I installed AVG 9.0 and now I get the MSN Explorer pop next message.
You can not connect to your mail server. There may be a problem with your Internet connection, or a problem with the mail server. Pleas try again.Sure. Analysis of your e-mail anti-virus program:
- Can slow to receive and send messages, or even fail.
- Can damage files of storage for messages that you've already sent and received, making it inaccessible messages.
- Is not necessary. If you receive an infected attachment and try to open it, the protective device in real time of your antivirus program will block the infection.
Here are a few web pages accurately:
Why you don't need your anti-virus program to scan your e-mail
The other threat email: the Corruption of files in Outlook Express
Why some antivirus software can change the settings in e-mail programs
Email scanning - advantages and disadvantages -
original title: SQL Server 2008
We have SQL Server 2005 cluster (3 node cluster) and if we improve this nodes to 2008 R2, can the databases associated with the named instance remain to the version of SQL Server 2005, I seem to disagree with this notion, but still need to validation of the pro.
One way I can think of to achieve this scenario changes the compatibility level to SQL Server 2005 when the node has been upgraded to SQL Server 2008, so we can upgrade databases to SQL 2008 as and when the vendors provide support for this version.
Hello
Here is the Vista forums
Try the links below:
SQL Server forums
http://social.technet.Microsoft.com/forums/en-us/category/SQLServer/
SQL Server TechCenter
http://TechNet.Microsoft.com/en-us/SQLServer/bb265254.aspx
Blogs and Forums SQL server 2008
http://www.Microsoft.com/sqlserver/2008/en/us/forums-blogs.aspx
-
Connection to SQL server 2012 (with Alwayson) of BI Publisher
How to connect to SQL Server BI publisher 2012 using a headset and connect to a readonly database. I need to know if we can use the 'ApplicationIntent ReadOnly ="parameter. Also, can I install Microsoft SQL Server jdbc 4 on WLS? Please let me know
I am able to do this work by installing the MS sqljdbc4 on weblogic and specifying the readonly parameter.
-
Developer SQL 4.1.2 uses Windows authentication to connect to SQL Server
I'm using SQL Developer 4.1.2 and tries to connect to SQL Server through Windows authentication. If I use SQL Server authentication, everything works so the jTDS driver appears to be installed and working properly (I use jTDS 1.2). When I switch to Windows authentication, I get the error
Status: Failure-Test failed: IO error: failure of the SSO: library Native SSPI has not loaded. Check the system java.library.path property.
Of course, I googled the error and came up with dozens of people asking the same question and is told to move the ntlmauth.dll from the \SSO directory to the jTDS directory in various other directories. That seems to work for others so for the last few hours, I was copying the DLL in each directory that I can find someone on the internet suggesting without success (I do restart SQL Developer each time). In the Directory SQL Developer, I tried
Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper
Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper\sqldeveloper\bin
Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper\jdk\jre\bin
On the off chance that something was still making reference to a directory of a SQL Developer previous install, I put it in the same directories in the front THAT SQL Developer installed on this machine. On the theory that she was using the FMV of the machine rather than that I downloaded and installed with SQL Developer, I advanced and dropped the DLL in the directory \bin for each installation of Java, that I could find on the system.
c:\Program Files\Java\jrd1.8.0_45\bin
C:\Program Files (x86)\Java\jre1.8.0_45\bin
C:\Program Files (x86)\Java\jre1.8.0_60\bin
Still no luck. SQL Developer, I went to help. Everything | Properties and checked that the first way to java.library.path is what I expected and where I dropped the ntlmauth.dll first. I even put it in c:\windows and c:\windows\system32 just to be sure.
Java.Library.Path C:\Oracle SQL Developer 4.1.2.20.64\sqldeveloper\sqldeveloper\bin. C:\WINDOWS\Sun\Java\bin; C:\Windows\System32; C:\WINDOWS; Despite the DLL just about everywhere that I guess I would need to have it, I still get the same error. I must be missing something obvious. But at this point I was looking at it so long that I just can't see it.
Justin
I use SQL Developer 4.1.2 and tries to connect to SQL Server through Windows authentication using jTDS 1.2
Not sure if this has anything to do with your problem, but according to jTDS - SQL Server and Sybase JDBC driver / newsand since SQL Developer 4.1.x requires Java 8, '' you should stick only to jTDS 1.2 If you need to use a version of Java before Java 7 '' . Perhaps using a version 1.3.x jTDS driver might help.
-
Install the second instance with tns own
Hello world
I depending on the situation: we have Windows 2008 Server, I installed oracle 11g Standard Edition database. I want to install a second instance on this server.
I try to use oracle database configuration manager and the installation was successful. But I can't connect to my trial because I got the error 'No TNS Listner'.
So I create a second with the oracle network utilities. But I can not connect to the server, so I take a look at the service, there where two headphones started my new and TNSListener so I looked in the listener.ora there where only my new listener.
After that, I restart the database but I sill got the error message and I could not service my trial dbconsole.
So I remove the second instance.
I want to ask if anyone has a tip for me or a best practice how to install a second instance with an own listener.
Greetings
How to install a second instance with an own listener.
You need a listener of the second. Simply create the new database and your real listener is more than enough.
Maybe you are looking for
-
Hello a person receives copies of all mail sent to [email protected], so I wonder if I've made a typo when I originally created the account of TB? Is there a way to change the backup of the e-mail I provided TB when I set this up? I do not know if
-
No there is no way to simply remove realplayer from the blocked list?
... My question is someone disabled the realplayer extension / addon /.plug for a godless reasoning due to a block list. I'm here swear a blue streak with this choice of blocking.especially when I cant goto my "add ons" area and click on"options / tu
-
Former Mavericks-style icon for file downloads
Hey everybody, I upgraded from 10.9.x Mavericks at 10.11. El Capitan a couple of weeks. All running smoothly so far. However, so that almost all the icons folder has changed to the new design of turquoise, the downloads folder icon still has this mut
-
How to cut the touchpad on my dell inspiron 1750
I use a wireless mouse but cannot NOT cut my touchpad HELP
-
Recently, my computer crashed and gave a blue screen. I had a local computer repair company, to repair it for me. They ran a virus scan Ad-Aware and my Outlook Express mail was lost. To get my email Outlook Express return account, I had to open a new