I am working with a client who needs to do a data import to a remote SQL Server (2008) instance. The machine that the import will be done from cannot have SQL Server installed on it. Can the BCP.exe utility run without a SQL Server install?
Thanks for any help.
BCP relies on some basic DLLs. Why don't you try installing client tools and run BCP from there. It will be a pretty clean server without SQL installed.
http://www.mssqltips.com/sqlservertip/1807/sql-server-2008-client-tools-installation/
I got a great answer over at https://dba.stackexchange.com/.
Answer
2015 - Installed on Windows Server 2008 R2 SP1
I needed the ODBC driver installed first...
Microsoft® ODBC Driver 11 for SQL Server
http://www.microsoft.com/en-za/download/details.aspx?id=36434
Microsoft® Command Line Utilities 11 for SQL Server
http://www.microsoft.com/en-za/download/details.aspx?id=36433
p.s. In case you're reading this post and the year is > 2015, use the search to find a similar download:
http://www.microsoft.com/en-za/search/DownloadResults.aspx?q=Microsoft%20Command%20Line%20Utilities
Related
Does anyone know how to install the bcp.exe in SQL 2017? If in MSSQL 2012 was easy to find during to install, in MSSQL 2017 Developer Edition apparently I cannot find it. Thanks!
SQL 2012
SQL Server client tools are being decoupled from the server components in later SQL versions. This includes SSMS as well as command-line utilities. Below are some links.
Command-line utilities
SSMS
SQL Operations Studio (open-source cross-platform GUI, preview)
mssql-scripter (open-source, cross-platform command-line)
When trying to install SQL Server Express Edition (2016) on a Windows server, downloading the file SQLServer2016-SSEI-Expr.exe from Microsoft and trying to run it causes the following error (the installation process doesn't even start):
What can I do?
Getting the full download of SQL Server Express using the link posted on SQL Server® 2016 Express full download, and then trying to run the program caused the following error:
It seems that this version of SQL Server requires at least Windows Server 2012 or Windows 8 whereas the server was running Windows Server 2008 R2.
You should either try installing an earlier version of SQL Server such as 2014 or get a server with a newer version of Windows.
Getting an error in SQL Server 2000 Enterprise manager - Please see in the attached screenshot!
Kindly help how to overcome the issue
You have to install the backward compatibility package. You can download it from here.The file is called SQLServer2005_BCxxx.msi
You're trying to access a SQL Server 2005 instance using SQL Server 2000's Enterprise Manager, which isn't possible.
You need to install a copy of SQL Server Management Studio - the 2008 R2Express version should be fine, or you can dig out the 2005 version
I have a Windows 2008 x64 server and with SQL Server 2008 x64 installed. osql.exe under SQL Server directory could list instances with -L. I copied osql.exe+osql.rll from another SQL Server 2005 x86 and '.\osql.exe -L' returns error like "[ODBC Driver Manager] Data source name not found and no default driver specified".
After check registry 'HKLM\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI', the 'SQL Server' and 'SQL Server Native Client 10.0' are ok and related dll files are ok. I also checked MDAC version, it's 6.0.6002.18005. Did i miss anything?
One interesting thing is osql.exe from SQL Server 2000 ran well to list instances on the server. And osql.rll isn't necessary, the osql.exe only needs msvcr71.dll.
What can i do to make osql.exe(from sql 2005) to run on the server? And are there any difference between those 2 osql.exe(sql 2005, sql 2000)?
As DaveShaw said, you should probably be using SQLCMD.EXE instead... fortunately the syntax is quite comparable to the old OSQL.EXE, so the transition shouldn't be hard.
You can download SQLCMD (a/k/a the Microsoft SQL Server 2005 Command Line Query Utility) from the latest Feature Pack for SQL Server 2005 page. Install the appropriate SQLCMD and the SQL Server Native Client (also on the same page) and you can run the commands from any client system on the network, x86 or x64 no matter.
Folks,
Visual Studio installed SQL Server Express on my computer, which to date has satisfied my needs. I now need to do remote database support so need the full version of management studio. I tried to install the standard version but it is blocked, apparently because Express has newer versions of the files. Can I do this? Will they play well together?
Thanks
Doug
You cannot run SQL Server 2005 Express on the same machine as SQL Server Management Studio 2005. However, you can run SQL Server 2008 Express.
I uninstalled 2005 and installed 2008 on my machine to work around that problem.
See this blog post for more info.
You could probably also set up a slipstream for 2k5 install with the latest service packs and install it that way.
Your solution is pretty simple. Uninstall Express & install SQL Server 2005. Why would you need both running side by side when you have the full version besides there's less headache when you have only one instance of it.