Determining the correct Connection string
I am new to ADO. I tried to copy/paste from what I found in another forum, but I got nowhere. Here is my set-up. I host the SQL Server database. I set it up for Active Directory authentication. Another...
View ArticleADODB causing LabVIEW to recompile code
I hope this post is roughly in the right place.I am using LabVIEW to interact with an SQL database and please forgive me for not using ANY of the correct terms...here goes.I share a snippet of code...
View ArticleSQL Server JDBC Driver fails to call a Stored Procedure in SQL Server
I have a SQL server (2014 server) that has a stored procedure that takes a parameter and returns a resultset.When I call this stored procedure using the SQL JDBC 6.0 Driver, it...
View ArticleODBC for Linux CentOS (SQLDriverConnectW)
I have just downloaded and installed ODBC 11 driver for Linux CentOS. I have added the section defining the connection into odbc.ini and checked with isql. Now I am trying to connect to SQL Server...
View ArticleConnecting to SQLSERVER DB (on windows 2008 server) from Oracle 12C DB(on...
Using DG4ODBC now. facing some errors with some select statements. Is there an alternate way to access SQLSVR data from Oracleerror: ORA - 28500ODBC SQLSVR driver: the multipart identifier could not be...
View ArticleWhat are the options for Connection pooling with MS JDBC Driver ?
What are the options for doing connection pooling with MS JDBC Driver?I understand it supports interfaces to allow pooling, but doesnt support it out of the box, which means we have to use a 3rd party...
View ArticleHow to import Contoso retail database into SQL Server 2016
I downloaded the ContosoBIdemoBAK.exe and ContoslBIdemoABF.exe files and decompressed them to a directory on my hard disk. After opening SQL Server Management Studio and selecting Database Engine, I...
View ArticleLogin Failed. The login is from an untrusted domain
Error:________Microsoft SQL Server Native Client Version 10.50.1600 Running connectivity tests... Attempting connection [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed. The login is...
View ArticleSQL Server 2012 Compatability
Hi Team,We are currently upgrading database of an application (classic ASP based) from version SQL Server 2008 to 2012. This application executes numerous of embedded SQL scripts through AdoRecordset....
View ArticleSPNs in isolated network/SQL Server access remotely
I was wondering if we open up SQL Server port in isolated network and try to connect to it remotely using IPAddress and Port from core domain.The only way to do that will be using SQL Authentication...
View ArticleConnection Timeout and ODBC Native Client
I use ODBC SQL Native Client to connect to SQL Server.When I call SQLDriverConnect to connect to an SQL Server instance and server is down, the function takes 20+ seconds to return. I want to be able...
View ArticleHow does ApplicationIntent=ReadOnly work with connection pooling?
How does ApplicationIntent=ReadOnly work with connection pooling?If a connection is created as readonly and is part of a pool, it does not get closed when the application closes the connection. It gets...
View ArticleThe server failed to resume transaction error with SQL Server 2014 Database
hi!I am getting an exceptionCaused by: com.microsoft.sqlserver.jdbc.SQLServerException: com.microsoft.sqlserver.jdbc.SQLServerException: The server failed to resume the transaction. Desc:1ec00000002....
View ArticleQuery is running slowly in SQL server 2014
Following query is running if the database compatibility level is 120 (2014). It is running fine for lower level. declare @dist Int,@rango int, @FI DATETIME,@FF DATETIME SET @FI =...
View ArticleSingle Line view from many columns data V:SQL 2016
My table look like this ,CREATE TABLE dbo.test ( action_id int, person_num nvarchar(40), creation_date nvarchar(20), event_name nvarchar(40), full_name nvarchar(40) ); INSERT INTO dbo.test...
View ArticleBinding Error
When i tried to bind the table to the Visual studio Form by dropping it on the form am receiving the below error. Can anyone please help me?"" An error occurred while performing the drop:Code...
View Articlewhat type of data found in mdf and ldf and ndf files
when create database in SQL server 2008 it contain three filesmdfldfndfwhat i need to ask what type of data saved in mdf and ldf and ndfto be more clear see example followingif i have HR DATABASE and...
View ArticleLost connectivity from virtual machine to sql servers
I'm kind of at a loss with troubleshooting the issue below. I'd appreciate any tips re what to try next. I work on a windows 7 pro workstation using odbc to connect to various sql server instances. On...
View ArticleODBC dsn not showing new tables
Server: SQL Server 2012 SP3 / Windows Server 2012Client: Windows 7 Pro 64 bit, SQLCLN 11I have a user trying to retrieve tables from a SQL 2012 default instance. User has db_datareader permissions on...
View ArticleMS OLE DB Provider for DB2 V5
Hello,Just purchased SQL Server 2014. I am trying to get a linked server setup to our AS400 using the MS OLE DB Provider for DB2 v5 x64.I've got the linked server setup, connected and working but it...
View Article