Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
SQL Server 2016 (major build version 13.00.xxxx). Please also tag sql-server.
0
votes
0
answers
55
views
SQL/Powershell job failing
Need more help from you brilliant folks.
I am trying to import a CSV file to a SQL table with this code:
$SQLServer = "MYSQLINSTANCE"
$SQLDatabase = "DBATools"
$SQLString = "Server=$SQLServer;Databa …
0
votes
1
answer
76
views
Trying to attach a database gives Operating system error 5: "5(Access is denied.)"
Trying to attach a database (SQL 2016), with the following command:
CREATE DATABASE [MYDB]
ON (FILENAME = 'E:\DBA\Data\MYDB_Data.mdf')
FOR ATTACH;
Renders the following error:
Msg 5120, Level 16, Sta …