I felt in love with the filestream capacities of SQL Server giving the possibility to see only files and skip the complexity of hierarchies. When I i ...
I felt in love with the filestream capacities of SQL Server giving the possibility to see only files and skip the complexity of hierarchies. When I i ...
I have a bucket (AWS) in a folder with 3 PARQUET files that are the same and have different names: I'm trying to create an EXTERNAL TABLE with the ...
First I added a credential: Then I Created an External Data Source: (In my CSV file there is 3 columns name id, name and age) when I write openr ...
I am deploying to an azure synapse environment queries using sqlcmd to serverless pool. The environment contains an SQL database that my deploying acc ...
Can we use with inside any apply in the SQL server? For traversing all nodes in the XML file I am trying to use outer apply so I can traverse in one g ...
We're running SQL Server 2014 with all the latest service packs. Our users heavily rely on OPENROWSET for importing XLSX, CSV and TXT files. Example: ...
I’m using SQL Server 2017 Developer Edition (RTM-CU30) and Office Professional Plus 2016, both 64-bit, on Windows 10 Pro. I created a simple Excel wo ...
I am importing an XML file into SQL Server 2019 using SSMS from a Windows 10 desktop. The script works but there are red underlines showing in the edi ...
I work with SQL Server 2019 and Python 3.10. When I try to read an Excel file with OPENROWSET using this statement: It reads an Excel file success ...
I have a lot of databases, each with a bunch of stored procedures I need to run. These stored procedures run other procedures, which include insert ex ...
I'm trying to import an XML file into a SQL cell to process it. My first idea is do an OPENROWSET to keep the XML and the just divide it with NODES. O ...
I am attempting to load a CSV file onto MS SQL Server with OPENROWSET BULK INSERT and 0 rows are being inserted. I am using the following code within ...
I'm having a few issues when inserting data from a XML file to a SQL Server database. How can I get the file name dynamically? This file is put on ...
I have the following .csv file: I need to import this file into the table (MyTable) with the same fields- in SSMS, using T-SQL statements. My import ...
I am using the following query to export data into a file: After executing, the result in the file (C:\shared_files\existing_file.csv) is: I wan ...
I have a set of data rows in my Documents table, Each row in this table has a unique column AbsoluteUri (which is hosted in Azure Container). What I w ...
Using SQL Server 2019 Express Edition. I have a text file like this: The columns are delimited by tabulation and rows by line feed. I need to get ...
SQLNCLI syntax when using OPENROWSET We have been using this syntax when using OpenRowset to collect data from other SQL Server instances. SELECT a. ...
I am updating a column with this: How not to update a column and leave old file there if the file Text3.txt does not exist? Some like: ...
I am using Openrowset with OpenJson to query files in a data lake using a Synapse SQL Serverless database. I have found the filename() and filepath() ...