चाहे मैं कुछ भी करूं, मुझे काम करने के लिए SQLCMD नहीं मिल सकता है। मैं एक स्क्रिप्ट चलाने की कोशिश कर रहा हूं जो आकार में 200mb + है और sql सर्वर एप्लिकेशन से नहीं चलाया जा सकता है इसलिए मुझे SQLCMD के माध्यम से ऐसा करने की आवश्यकता है, हालांकि जब भी मैं स्क्रिप्ट को लॉगिन करने या चलाने का प्रयास करता हूं तो यह तुरंत बंद हो जाता है।
मैं msdn द्वारा sqlcmd उपयोगिता का पालन किया है।
मैंने विश्वसनीय कमांड SQLCMD -EI get के माध्यम से इसे खोलने की कोशिश की है:
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Named Pipes Provider: Could not open a connection to SQL Server [2]. .
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Login timeout expired.
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : 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..
मैंने स्पष्ट सर्वर, उपयोगकर्ता नाम और पासवर्ड घोषणा के माध्यम से कोशिश की है:
C:\Users\MyUserName\Documents>SQLCMD -S DESKTOP-1N3OD6V\SQLEXPRESS -U DESKTOP-1N3OD6V\MyUserName-P MyPassword
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Login failed for user 'DESKTOP-1N3OD6V\MyUserName'..