I have an excel file in Sharepoint that i need to upload to SQL Server. I can do it manually by downloading the file and then directly uploading it on the database, but i want this table to be updated as and when the file in Sharepoint is updated. Is there a way to do that?
Related
The user case is that we have a file in our SharePoint online that I need to load into our on prem SQL server, using SSIS 2019 (64 bit).
This question is about how to use SSIS to copy the file from the online SharePoint Document Library to an on-prem server file location, from the on-prem server I indeed to use SSIS to load the file data required to the on-prem SQL server
I have read a number of question
Opening Excel file stored on SharePoint as data source using ADODB Connection
Import Excel file located in SharePoint Server into SSIS
However, in the main I am struggling to use the "Show in File Explorer" option even when I try to use IE11 Can any one suggest an easier way to convert the web file path to the correctly formatted UNC
I am aware that I could use a Power Automate to move the file to achieve the same thing, but I am finding it strange that SSIS does not do this
Can anyone help please
In SSMS 2014 I created a DACPAC file using Tasks > Extract Data-Tier Application.
I then Deployed the file to an Azure SQL Database. The scheme it deployed but all the tables are empty with no data.
How can I export the data? I though that SQL Server 2014 DACPAC file already included the data ...
To move a database to Azure SQL you need to extract a BACPAC file which contains the data as well as schema. The DACPAC file does not contain the data.
Go to
Tasks > Export Data-Tier Application and you will get the file required.
Look here for more details :
https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/export-a-data-tier-application
You can include data from specific tables or from all tables in a DACPAC by using the SqlPackage tool.
SqlPackage.exe /a:Extract /p:ExtractAllTableData=true /SourceServerName:localhost /SourceDatabaseName:somedb /TargetFile:db.dacpac
SqlPackage.exe /a:Extract /p:TableData=dbo.SomeTable /p:TableData=dbo.SomeOtherTable /SourceServerName:localhost /SourceDatabaseName:somedb /TargetFile:db.dacpac
The question is easy: is there a commant to backup an entire SqlServer database to a .sql file?
I developed a web application and now I need a button that permits to download a .sql file with all the data on the server.
Thanks a lot!
I have a requirement to automatically copy/transfer .json files that are located on dropbox to a SQL Server 2016 database. How can this be done, code examples. I have SQL Server 2016 but I am new to all of this.
If the .json files are in dropbox can SQL Server get them, then parse them into the database automatically or do I need something to copy the files down from dropbox first, then import these files directly or first parse then to some format (e.g. .csv) to populate tables in the SQL Server database?
SQL Server cannot directly access dropbox account. However, if you synchronize dropbox on some local folder or network path that is accessible by SQL Server, you can use OPENROWSET to read file and parse content with OPENJSON, see example in:
https://blogs.msdn.microsoft.com/sqlserverstorageengine/2015/10/07/bulk-importing-json-files-into-sql-server/
can i use microsoft 1 drive to store the flat file and can i load the files from one drive to sql server database suing SSIS.Can any one share a thought on an alternative.Keeping the master data flat file on cloud and making it available on sql server.We do not want to download those files stored in cloud.The thing is would like to create ssis package to read the files on the cloud