New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCP - load data into SQLEXPRESS - localhost #14793
Comments
@anonymousReaper Thanks for your question. Can you please share the url, if there is a particular Azure doc you have been following? |
@Karishma-Tiwari-MSFT Hello Karishma, the MSFT documentation URL is https://docs.microsoft.com/en-us/azure/sql-database/sql-database-design-first-database#load-data-into-the-tables The section which is named as Load data into the tables |
@anonymousReaper Thank you for sharing the document. I have updated the issue with the doc details. |
@anonymousReaper your question has nothing to do with this article. This said, I searched the internet and found this answer: "You have to specify the Instance with SQL Express. It is installed by default into a named instance called Computername\SQLEXPRESS, or .\SQLEXPRESS or (local)\SQLEXPRESS, you probably have the point by now. So it makes alot of sense that when you do either of the following: bcp eSpacePh1.dbo.UserProfile out UserProfile.txt -T -c -S localhost\sqlexpress I hope this helps. |
@CarlRabeler got it. Thanks! |
Thanks so much! |
Hello,
I'm using powershell to upload data into a database which is on a localhost server (SQLEXPRESS). Can someone help me with the bcp command? I keep getting the below error:
SQLState = 08001, NativeError = -1
Error = [Microsoft][ODBC Driver 13 for SQL Server]SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
SQLState = 08001, NativeError = -1
Error = [Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
SQLState = S1T00, NativeError = 0
Error = [Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: