{"id":1175,"date":"2023-09-18T07:00:00","date_gmt":"2023-09-18T04:00:00","guid":{"rendered":"https:\/\/www.dataplatform.gr\/?p=1175"},"modified":"2024-02-04T21:47:57","modified_gmt":"2024-02-04T18:47:57","slug":"pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava","status":"publish","type":"post","link":"https:\/\/www.dataplatform.gr\/en\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/","title":{"rendered":"How can we from SQL Server read Excel \/ CSV \/ TXT and insert the records into a table"},"content":{"rendered":"<p>SQL Server enables us to read and import files at will without the use of SSIS (Integration Services) and Wizard packages. This process is done using the function <strong>OPENROWSET<\/strong> and his <strong>BULK INSERT<\/strong>. We can call with a direct T-SQL query or insert the statement into an agent job.<\/p>\n\n\n\n<p>Thanks to these functions we can even insert the records directly into an existing table. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The pre-requisites for using the ACE OLEDB engine<\/h2>\n\n\n\n<p>We should install ACE Engine (<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920\" target=\"_blank\" rel=\"noreferrer noopener\">available here for download<\/a>). If a compatible provider is already installed, e.g. <em>Microsoft.ACE.OLEDB.12.0<\/em> then we don&#039;t need to install another one.<\/p>\n\n\n\n<p>To see the installed providers, run the following:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">exec master.dbo.sp_MSset_oledb_prop<\/pre>\n\n\n\n<p>We also need to configure the use of providers in the SQL Server instance by running the following script:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">\/*\nsp_configure 'show advanced options', 1;\nGO\nRECONFIGURE;\nGO\nsp_configure 'Ad Hoc Distributed Queries', 1;\nGO\nRECONFIGURE;\nGO\nEXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0\u2032, N'AllowInProcess', 1\nGO\nEXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0\u2032, N'DynamicParameters', 1\nGO\n\n--\u03a0\u03c1\u03bf\u03c3\u03bf\u03c7\u03ae \u03c4\u03bf script \u03b1\u03bd\u03ac\u03bb\u03bf\u03b3\u03bf\u03c2 \u03c0\u03bf\u03b9\u03bf ACE engine \u03b4\u03b9\u03b1\u03bb\u03ad\u03be\u03bf\u03c5\u03bc\u03b5 \u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03b1\u03bd\u03c4\u03af\u03c3\u03c4\u03bf\u03b9\u03c7\u03bf \u03c0.\u03c7. Microsoft.ACE.OLEDB.12.0, Microsoft.ACE.OLEDB.16.0 \u03ba\u03bb\u03c0.\n*\/<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How we read through an Excel file<\/h2>\n\n\n\n<p>All we need to do is to run the following query after first putting the version corresponding to the one we have installed, e.g. <em>&#039;Microsoft.ACE.OLEDB.12.0&#039;<\/em>, select as Database the direct path for the file we want, e.g. <em>&#039;C:\\Users\\smatzouranis\\Desktop\\test.xlsx&#039;<\/em> and finally define the name of the Sheet we will read:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=C:\\Users\\smatzouranis\\Desktop\\test.xlsx','select * from [Sheet1$]')<\/pre>\n\n\n\n<p>When we run it, it will show us the result directly in the grid:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"254\" height=\"155\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/1-re.png\" alt=\"\" class=\"wp-image-1178\"\/><figcaption class=\"wp-element-caption\">01<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How do we insert the records from an Excel file into a table<\/h2>\n\n\n\n<p>But we can not only see the result but also save it, so let&#039;s make a table that fits the data we have:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"263\" height=\"255\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/2-re.png\" alt=\"\" class=\"wp-image-1179\"\/><figcaption class=\"wp-element-caption\">02<\/figcaption><\/figure>\n\n\n\n<p>We make a table with two fields for text:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">CREATE table test(\nonoma varchar(50),\nepitheto varchar(50))<\/pre>\n\n\n\n<p>In this example we will make it a little more complicated as we will read from a folder that will have today&#039;s date, so the path of the folder that will be defined in a parameter with <strong>OPENROWSET<\/strong> it will change dynamically per day.<\/p>\n\n\n\n<p>To achieve this we will use the function <strong>getdate()<\/strong> in his query <strong>OPENROWSET<\/strong>, which we&#039;ll pass in a parameter, then we&#039;ll do <strong>insert into<\/strong> in the table we made before by running this parameter:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">set ANSI_NULLS ON\nGO\nset QUOTED_IDENTIFIER ON\nGO\ndeclare @dbfile varchar(2000);\nprint @dbfile\nset @dbfile = 'SELECT * FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'''+','+'''Excel 12.0;Database=C:\\Users\\smatzouranis\\outlook_files\\'+convert(varchar,getdate(),112)+'\\test_'+convert(varchar,getdate(),112)+'.xlsx'''+','+'''select * from [Sheet1$]'''+')'\n\nprint @dbfile\n\ninsert into dbo.test\nexec(@dbfile)\n\ngo<\/pre>\n\n\n\n<p>(3 rows affected)<\/p>\n\n\n\n<p>So now in the test table there are the entries:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"344\" height=\"200\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/3-re.png\" alt=\"\" class=\"wp-image-1180\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/3-re.png 344w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/3-re-300x174.png 300w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><figcaption class=\"wp-element-caption\">03<\/figcaption><\/figure>\n\n\n\n<p>Let&#039;s see what we do in case we don&#039;t have an Excel file but a flatfile <strong>CSV<\/strong> <strong>\/ TXT<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How we read through a CSV \/ TXT file<\/h2>\n\n\n\n<p>The process is similar with the difference that we declare the name of the file in the path but at the end instead of the name of the Sheet. As a delimiter character to separate each column must<strong> <\/strong> to be the <strong>comma<\/strong> &#039;,&#039; . There is the parameter <strong>HDR <\/strong>which states that in the first line we have the title of the field so whether or not to ignore the first line, in our case it has a title so we put HDR=YES:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Text;Database=C:\\Users\\smatzouranis\\Desktop\\;HDR=YES','select * from [test.csv]')<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to insert records from a CSV \/ TXT file into a table<\/h2>\n\n\n\n<p>Accordingly, we can insert the entries into a table as we saw in the previous example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">set ANSI_NULLS ON\nGO\nset QUOTED_IDENTIFIER ON\nGO\ndeclare @dbfile varchar(2000);\nprint @dbfile\n\nset @dbfile = 'SELECT * FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'''+','+'''Text;Database=C:\\Users\\smatzouranis\\outlook_files\\'+convert(varchar,getdate(),112)+'\\;HDR=YES'''+','+'''select * from [test.csv]'''+')'\n\nprint @dbfile\n\ninsert into dbo.test\nexec(@dbfile)\ngo<\/pre>\n\n\n\n<p>(3 rows affected)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"344\" height=\"200\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/4-re.png\" alt=\"\" class=\"wp-image-1176\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/4-re.png 344w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/4-re-300x174.png 300w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><figcaption class=\"wp-element-caption\">04<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What do we do in the case that the CSV \/ TXT file is not comma delimited but has a custom delimiter or encoding<\/h2>\n\n\n\n<p>In this case we do not change anything in our query but in the folder containing the files we should create a file named <strong>schema.ini<\/strong>, in this file we define the exact name of the file, if in the first line it has the title of each field and the custom delimiter it has as in the following example with pipe delimiter:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>&#91;test.csv]\nColNameHeader=False\nFormat=Delimited(|)\nMaxScanRows=0\nCharacterSet=65001\nCol1=\"Col1\" text\nCol2=\"Col2\" text<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to insert records from CSV \/ TXT with BULK INSERT<\/h2>\n\n\n\n<p>In case the file we want to import is a file that contains <strong>over 255 columns<\/strong> or in case we don&#039;t want to use the configuration file schema.ini then the only way to enter it is with <strong>BULK INSERT<\/strong>.<\/p>\n\n\n\n<p><em>A common error in files with more than 255 columns is the following:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>This operation will fail because the text file you are about to import contain more than 255 columns<\/code><\/pre>\n\n\n\n<p>In this case as opposed to using it <em>Microsoft.ACE.OLEDB<\/em> we avoid this limitation, we do not need a configuration file but inside the SQL statement we declare the delimiter and the codepage:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">BULK INSERT dbo.test FROM 'C:\\Users\\smatzouranis\\Desktop\\test.csv' WITH (FIRSTROW=1,FIELDTERMINATOR = '|',ROWTERMINATOR = '\\n', CODEPAGE = 65001);\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How can we keep the current date when inserting the table<\/h2>\n\n\n\n<p>Let&#039;s see one more example, we can when we enter the records have today&#039;s date and time.<\/p>\n\n\n\n<p>We delete the table and rebuild it with one more datetime field:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">drop table test;\n\nCREATE table test(\nonoma varchar(50),\nepitheto varchar(50),\nimerominia datetime)<\/pre>\n\n\n\n<p>The only difference is that we have added to select after * the function <strong>getdate()<\/strong>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">set ANSI_NULLS ON\nGO\nset QUOTED_IDENTIFIER ON\nGO\ndeclare @dbfile varchar(2000);\nprint @dbfile\n\nset @dbfile = 'SELECT *,getdate() FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'''+','+'''Text;Database=C:\\Users\\smatzouranis\\outlook_files\\'+convert(varchar,getdate(),112)+'\\;HDR=YES'''+','+'''select * from [test.csv]'''+')'\n\nprint @dbfile\n\ninsert into dbo.test\n\nexec(@dbfile)\n\ngo<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"328\" height=\"146\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/5-re.png\" alt=\"\" class=\"wp-image-1177\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/5-re.png 328w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/5-re-300x134.png 300w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><figcaption class=\"wp-element-caption\">05<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bonus automatic creation of commands for OPENROWSET \/ BULK INSERT<\/h2>\n\n\n\n<p>If we make and fill an auxiliary table that will contain the connection between the tables we want to fill and the files, we can generate all the commands we will need such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The selection of files<\/li>\n\n\n\n<li>The insert in tables with openrowset<\/li>\n\n\n\n<li>The insert in tables with bulk insert<\/li>\n\n\n\n<li>The creation of schema.ini<\/li>\n\n\n\n<li>The truncate of tables<\/li>\n\n\n\n<li>Deleting tables<\/li>\n\n\n\n<li>But even update a column in our helper table with the count of records after the insert<\/li>\n<\/ul>\n\n\n\n<p>To do this we create the auxiliary table as below and insert the tables with the files we will load:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">CREATE TABLE [dbo].[filenames](\n       [name] [varchar](100) NULL,\n       [table_name] [varchar](100) NULL,\n       [count] [numeric](20, 0) NULL,\nCONSTRAINT [ak_name] UNIQUE NONCLUSTERED \n(\n       [name] ASC\n)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]\n) ON [PRIMARY]\nGO\n\n--insert into filenames values ('customers_file','customers_table',null);\n--insert into filenames values ('countries_file','countries_table',null);\n<\/pre>\n\n\n\n<p>And then by running the following query the commands will be generated:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">select \n(name+'.csv') as real_fname\n,('SELECT * FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'',''Text;Database=C:\\demo\\;'',''select * from [' +name+'.csv]'');') as select_st\n,('insert into dbo.' +fn.table_name +' SELECT * FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'',''Text;Database=C:\\demo\\;'',''select * from [' +name+'.csv]'');') as insert_st\n,('BULK INSERT dbo.' +fn.table_name +' FROM ''C:\\demo\\'  +name+'.csv'' WITH (FIELDTERMINATOR = ''|'',ROWTERMINATOR = ''\\n'', CODEPAGE = 65001);') as bulk_insert_st\n,('update dbo.filenames set count=(select count(*) from '+fn.table_name+ ') where table_name='''+fn.table_name+''';') as count_st\n,(REPLACE('['+name+'.csv]'+char(13)+char(10)+'ColNameHeader=false  Format=Delimited(|)  MaxScanRows=0  TextDelimiter=none  CharacterSet=65001  '+CL.COL_TYPE+char(13)+char(10)+char(13),'  ',char(13)+char(10))) as schema_ini\n,('truncate table dbo.'+fn.table_name+';') as truncate_st\n,('drop table dbo.'+fn.table_name+';') as drop_st\nfrom  filenames fn\nOUTER APPLY\n(select STRING_AGG(CONVERT(NVARCHAR(MAX),('Col'+cast(ORDINAL_POSITION as varchar(3))+'=\"Col'+cast(ORDINAL_POSITION as varchar(3))+'\" text')),CHAR(13)) col_type from INFORMATION_SCHEMA.COLUMNS sc  WHERE sc.table_name=fn.table_name ) cl\nwhere 1=1<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"124\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2022\/12\/bcpr-01.png\" alt=\"\" class=\"wp-image-5043\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2022\/12\/bcpr-01.png 859w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2022\/12\/bcpr-01-300x43.png 300w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2022\/12\/bcpr-01-768x111.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><figcaption class=\"wp-element-caption\">06<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sources:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/t-sql\/functions\/openrowset-transact-sql?view=sql-server-ver16\" target=\"_blank\" rel=\"noreferrer noopener\">OPENROWSET (Transact-SQL)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/odbc\/microsoft\/schema-ini-file-text-file-driver?view=sql-server-2017\" target=\"_blank\" rel=\"noreferrer noopener\">Schema.ini File (Text File Driver)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/t-sql\/statements\/bulk-insert-transact-sql?view=sql-server-ver16\" target=\"_blank\" rel=\"noreferrer noopener\">BULK INSERT (Transact-SQL)<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>SQL Server enables us to read and import files at will without the use of SSIS (Integration Services) and Wizard packages. This process is done using the OPENROWSET function and the BULK INSERT. We can call with a direct T-SQL query or insert the statement into an agent job. Thanks [\u2026]<\/p>","protected":false},"author":1,"featured_media":695,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,11,17,15],"tags":[175,29,130,43,23,58,30,39,6],"class_list":["post-1175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business-intelligence","category-databases","category-ms-excel","category-ms-sqlserver","tag-bulk-insert","tag-databases","tag-etl","tag-microsoft-excel","tag-microsoft","tag-openrowset","tag-rdbms","tag-sql","tag-sqlserver"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dataplatform.gr\/en\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr\" \/>\n<meta property=\"og:description\" content=\"\u039f SQL Server \u03bc\u03b1\u03c2 \u03b4\u03af\u03bd\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03ac \u03b2\u03bf\u03cd\u03bb\u03b7\u03c3\u03b7 \u03c7\u03c9\u03c1\u03af\u03c2 \u03c4\u03b7\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c0\u03b1\u03ba\u03ad\u03c4\u03c9\u03bd SSIS (Integration Services) \u03ba\u03b1\u03b9 Wizard. \u0397 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03c5\u03c4\u03ae \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c5 function OPENROWSET \u03ba\u03b1\u03b9 \u03c4\u03bf\u03c5 BULK INSERT. \u039c\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bd\u03b1 \u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03bc\u03b5 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2 T-SQL query \u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf statement \u03c3\u03b5 \u03ba\u03ac\u03c0\u03bf\u03b9\u03bf agent job. \u03a7\u03ac\u03c1\u03b7 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dataplatform.gr\/en\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/\" \/>\n<meta property=\"og:site_name\" content=\"DataPlatform.gr\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dataplatform.gr\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-18T04:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-04T18:47:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Stratos Matzouranis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stratos Matzouranis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/\"},\"author\":{\"name\":\"Stratos Matzouranis\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/person\\\/e87bf4fd02b65cb6aa0942f87245bbaf\"},\"headline\":\"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \\\/ CSV \\\/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1\",\"datePublished\":\"2023-09-18T04:00:00+00:00\",\"dateModified\":\"2024-02-04T18:47:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/\"},\"wordCount\":144,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_excel_sqlserver.png\",\"keywords\":[\"BULK INSERT\",\"Databases\",\"ETL\",\"Excel\",\"Microsoft\",\"OPENROWSET\",\"RDBMS\",\"SQL\",\"SQL Server\"],\"articleSection\":[\"Business Intelligence\",\"Databases\",\"Microsoft Excel\",\"Microsoft SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/\",\"name\":\"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \\\/ CSV \\\/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_excel_sqlserver.png\",\"datePublished\":\"2023-09-18T04:00:00+00:00\",\"dateModified\":\"2024-02-04T18:47:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_excel_sqlserver.png\",\"contentUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_excel_sqlserver.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0391\u03c1\u03c7\u03b9\u03ba\u03ae\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Databases\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/category\\\/databases\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Microsoft SQL Server\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/category\\\/databases\\\/ms-sqlserver\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \\\/ CSV \\\/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#website\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/\",\"name\":\"dataplatform.gr - Sky is not the limit!\",\"description\":\"\u0398\u03b5\u03c9\u03c1\u03af\u03b1, \u03bf\u03b4\u03b7\u03b3\u03bf\u03af \u03ba\u03b1\u03b9 \u03c3\u03ba\u03ad\u03c8\u03b5\u03b9\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03b4\u03bf\u03c5\u03bb\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2 \u03c0\u03b9\u03bf \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03b9\u03ba\u03ac \u03ba\u03b1\u03b9 \u03c0\u03b9\u03bf \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b9\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03c3\u03c4\u03b7\u03bd SQL, \u03c3\u03c4\u03bf Business Intelligence \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b3\u03b5\u03bd\u03b9\u03ba\u03cc\u03c4\u03b5\u03c1\u03b1.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dataplatform.gr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\",\"name\":\"dataplatform.gr\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_logo_wbacki.png\",\"contentUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_logo_wbacki.png\",\"width\":322,\"height\":139,\"caption\":\"dataplatform.gr\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dataplatform.gr\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dataplatform-gr\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/person\\\/e87bf4fd02b65cb6aa0942f87245bbaf\",\"name\":\"Stratos Matzouranis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"caption\":\"Stratos Matzouranis\"},\"sameAs\":[\"https:\\\/\\\/www.dataplatform.gr\"],\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/en\\\/author\\\/stratos-matzouranis\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dataplatform.gr\/en\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/","og_locale":"en_US","og_type":"article","og_title":"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr","og_description":"\u039f SQL Server \u03bc\u03b1\u03c2 \u03b4\u03af\u03bd\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03ac \u03b2\u03bf\u03cd\u03bb\u03b7\u03c3\u03b7 \u03c7\u03c9\u03c1\u03af\u03c2 \u03c4\u03b7\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c0\u03b1\u03ba\u03ad\u03c4\u03c9\u03bd SSIS (Integration Services) \u03ba\u03b1\u03b9 Wizard. \u0397 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03c5\u03c4\u03ae \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c5 function OPENROWSET \u03ba\u03b1\u03b9 \u03c4\u03bf\u03c5 BULK INSERT. \u039c\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bd\u03b1 \u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03bc\u03b5 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2 T-SQL query \u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf statement \u03c3\u03b5 \u03ba\u03ac\u03c0\u03bf\u03b9\u03bf agent job. \u03a7\u03ac\u03c1\u03b7 [&hellip;]","og_url":"https:\/\/www.dataplatform.gr\/en\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/","og_site_name":"DataPlatform.gr","article_publisher":"https:\/\/www.facebook.com\/dataplatform.gr\/","article_published_time":"2023-09-18T04:00:00+00:00","article_modified_time":"2024-02-04T18:47:57+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png","type":"image\/png"}],"author":"Stratos Matzouranis","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stratos Matzouranis","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#article","isPartOf":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/"},"author":{"name":"Stratos Matzouranis","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/person\/e87bf4fd02b65cb6aa0942f87245bbaf"},"headline":"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","datePublished":"2023-09-18T04:00:00+00:00","dateModified":"2024-02-04T18:47:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/"},"wordCount":144,"commentCount":2,"publisher":{"@id":"https:\/\/www.dataplatform.gr\/#organization"},"image":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png","keywords":["BULK INSERT","Databases","ETL","Excel","Microsoft","OPENROWSET","RDBMS","SQL","SQL Server"],"articleSection":["Business Intelligence","Databases","Microsoft Excel","Microsoft SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/","url":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/","name":"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 - DataPlatform.gr","isPartOf":{"@id":"https:\/\/www.dataplatform.gr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#primaryimage"},"image":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png","datePublished":"2023-09-18T04:00:00+00:00","dateModified":"2024-02-04T18:47:57+00:00","breadcrumb":{"@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#primaryimage","url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png","contentUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_excel_sqlserver.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/www.dataplatform.gr\/pos-mporoyme-mesa-apo-ton-microsoft-sql-server-na-diava\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0391\u03c1\u03c7\u03b9\u03ba\u03ae","item":"https:\/\/www.dataplatform.gr\/"},{"@type":"ListItem","position":2,"name":"Databases","item":"https:\/\/www.dataplatform.gr\/category\/databases\/"},{"@type":"ListItem","position":3,"name":"Microsoft SQL Server","item":"https:\/\/www.dataplatform.gr\/category\/databases\/ms-sqlserver\/"},{"@type":"ListItem","position":4,"name":"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bc\u03ad\u03c3\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd SQL Server \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Excel \/ CSV \/ TXT \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03b5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1"}]},{"@type":"WebSite","@id":"https:\/\/www.dataplatform.gr\/#website","url":"https:\/\/www.dataplatform.gr\/","name":"dataplatform.gr - Sky is not the limit!","description":"\u0398\u03b5\u03c9\u03c1\u03af\u03b1, \u03bf\u03b4\u03b7\u03b3\u03bf\u03af \u03ba\u03b1\u03b9 \u03c3\u03ba\u03ad\u03c8\u03b5\u03b9\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03b4\u03bf\u03c5\u03bb\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2 \u03c0\u03b9\u03bf \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03b9\u03ba\u03ac \u03ba\u03b1\u03b9 \u03c0\u03b9\u03bf \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b9\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03c3\u03c4\u03b7\u03bd SQL, \u03c3\u03c4\u03bf Business Intelligence \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b3\u03b5\u03bd\u03b9\u03ba\u03cc\u03c4\u03b5\u03c1\u03b1.","publisher":{"@id":"https:\/\/www.dataplatform.gr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dataplatform.gr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dataplatform.gr\/#organization","name":"dataplatform.gr","url":"https:\/\/www.dataplatform.gr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/logo\/image\/","url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_logo_wbacki.png","contentUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_logo_wbacki.png","width":322,"height":139,"caption":"dataplatform.gr"},"image":{"@id":"https:\/\/www.dataplatform.gr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dataplatform.gr\/","https:\/\/www.linkedin.com\/company\/dataplatform-gr\/"]},{"@type":"Person","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/person\/e87bf4fd02b65cb6aa0942f87245bbaf","name":"Stratos Matzouranis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","caption":"Stratos Matzouranis"},"sameAs":["https:\/\/www.dataplatform.gr"],"url":"https:\/\/www.dataplatform.gr\/en\/author\/stratos-matzouranis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/1175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/comments?post=1175"}],"version-history":[{"count":2,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/1175\/revisions"}],"predecessor-version":[{"id":5656,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/1175\/revisions\/5656"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/media\/695"}],"wp:attachment":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/media?parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/categories?post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/tags?post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}