Import data from Excel to SQL Server table

  Рет қаралды 384,323

SQL with Manoj

SQL with Manoj

Күн бұрын

Пікірлер: 105
@AdedayoMuhammed
@AdedayoMuhammed Жыл бұрын
THANKSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS U SO MUCH ,STRAIGHT FORWARD ND WELL EXPLAINED ,U MAKE MY DAY
@Mini_LOL_Station
@Mini_LOL_Station 5 жыл бұрын
Thaks Manoj Ji. Thaks for sharing such kind of information in this platform.
@aykuterdogan4808
@aykuterdogan4808 2 жыл бұрын
Great video, Manoj. Thank you for this video.
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@johng5295
@johng5295 2 жыл бұрын
Thanks in a million! Very well explained. This is the nth time that I am watching this again. Great content. Awesome. I couldn't find this explanation--simply put anywhere else. “Great teachers are hard to find”. Grade: A++ 💥
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@failureiseverything
@failureiseverything Жыл бұрын
Sql server native client 11.0 is not showing in my destination field
@rasalghulgaming4072
@rasalghulgaming4072 2 жыл бұрын
Thank you Simple, Clear Explanation
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@FrancescoGrosso1094
@FrancescoGrosso1094 3 жыл бұрын
1.How about appending/adding data to an already existing table? 2. Can you choose the delimiters if the raw data is not clean, i.e. not perfectly delimited on every row?
@ManojPandeyManub22
@ManojPandeyManub22 3 жыл бұрын
For #1 you can try creating a Stored Procedure and get the data in a temp table first, then MERGE in your main destination table. For #2 you will have to clean the XL or CSV file, otherwise you will end up errors/issues or mixing up columns data.
@FrancescoGrosso1094
@FrancescoGrosso1094 3 жыл бұрын
@@ManojPandeyManub22 Cheers mate! Thanks!
@cesarl.c.847
@cesarl.c.847 3 жыл бұрын
Hi Francesco... to check LoaderDataPlus tool, loads flat files and export to MariaDB, MySQL, PostgreSQL, Oracle, SQLSERVER, SQLite.
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@amittechnicalagra
@amittechnicalagra Жыл бұрын
​@@ManojPandeyManub22kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@LogarPassport
@LogarPassport 7 ай бұрын
❤❤❤Thanks work for me
@Ocelot_1997
@Ocelot_1997 5 жыл бұрын
Many thanks Manoj!
@sallu21m
@sallu21m Жыл бұрын
Getting error ...MS.ace.oledb.12.0 provider is not registered on local machine.....pls help
@sumbalkhan8208
@sumbalkhan8208 6 ай бұрын
Same issue
@kanasree123
@kanasree123 5 жыл бұрын
Helped me a lot. Thanks a lot......
@excellearning8555
@excellearning8555 4 жыл бұрын
Thank you very much Brother.Nice Guide.
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@furremurre
@furremurre 4 жыл бұрын
Thanks, Manoj !
@utkarshkumar8671
@utkarshkumar8671 3 жыл бұрын
Thank you so much Manoj, this helped me a lot.
@sulaimandanish4561
@sulaimandanish4561 3 жыл бұрын
Bro i'm learning to be a DBA. Can you give me some tips regarding it?
@BoxerDogs
@BoxerDogs 5 жыл бұрын
This is going to be easier than I thought. Would I be able to use SQL Server Studio to connect to a Deltek Costpoint database?
@PhilcoCup
@PhilcoCup 5 жыл бұрын
As long as you are able to procure the installer for the ODBC which is the connector for that specific DB you should be able to configure the data origin in your control panel, and then it SHOULD appear in the options
@sonaligore7872
@sonaligore7872 3 жыл бұрын
thank u for your video
@ijeanpierrebp
@ijeanpierrebp 3 жыл бұрын
great tutorial
@amintaleghani2110
@amintaleghani2110 3 жыл бұрын
thanks for your video. What will happen to the formulas that are the excel table after importing to SQL?
@ManojPandeyManub22
@ManojPandeyManub22 3 жыл бұрын
only data gets imported from the cells/sheets, formulas are behind the XL cells.
@BoxerDogs
@BoxerDogs 5 жыл бұрын
Can you do a video that shows how to use data in an Excel file, to update existing records in a database?
@SQLwithManoj
@SQLwithManoj 3 жыл бұрын
This is bit tricky and probably not a good way to do via XL with macros. Please create your own UI or work with somebody who knows it. The above demo I shown was for only data analysis purpose.
@TheIanmurphy
@TheIanmurphy 3 жыл бұрын
I watched your video on exporting data as well and it was very helpful. I want to know if its possible to export the data to excel, make changes to it, and then import the data back into the same table to make updates instead of importing a new table?
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@JoelErnstrom
@JoelErnstrom 6 жыл бұрын
Hello there! I have a very important question and I've been tearing my hair out trying to find the answer. I have an Excel spreadsheet much like yours that I have imported to SQL Server. On the spreadsheet, I have dates in the same format that you are using; Year-Month-Day. This is EXACTLY how I want it. But, this SQL Server just added (literally) 17 zeros! behind each of the dates. (1996-03-24 00:00:00.0000000 +00:00) HOW do I get rid of all the dang zeros? YOUR import shows BirthDate and HireDate with no zeros! What have I done wrong? Thank you for your time and, trust me, I can hardly wait for your reply!
@ManojPandeyManub22
@ManojPandeyManub22 6 жыл бұрын
I think the column datatype in your table is DATETIME or DATETIME2. If you just want to store the DATE, and not the time, please change its DATATYPE to DATE, by using ALTER command.
@JoelErnstrom
@JoelErnstrom 6 жыл бұрын
@@ManojPandeyManub22 Thank you very much for getting back to me on this! So, I ran an ALTER command and it gave me some error message about 'not allowing nulls' or something. Then, I went into the table and did something that, "apparently", I'm not supposed to be able to do without 'dropping? or recreating?' (yeah, I'm a noob at this) the table. I right clicked on my 'Date' column, clicked 'Modify', and changed the Type (you were right about DateTime) to 'Date'. That worked. The Date column is showing how I thought it needed to be originally. Upon further investigation into how SQL saves dates, the format doesn't really matter. The only thing that matters is how it needs to be read on the user/application end--which is the MAIN issue to my Date problem. I am creating an application in C#/VS and I need to figure out why, when I load my data into dataGridView1, it shows improperly--MM-dd-yyyy. I never told it to do that. Why doesn't VS just use the date "AS IT'S ENTERED" and not assume that I must want it changed?
@rahulgautam511
@rahulgautam511 3 жыл бұрын
Hi Manoj, Hope you are doing good. Getting below errors while importing the data.
@sebamary9634
@sebamary9634 3 жыл бұрын
how to import specific columns from excel file into an existing table with CONDITION?
@yunisahmed4772
@yunisahmed4772 3 жыл бұрын
dear, if you got the result please send to me, thanks a lot
@TeluguCookingdelights
@TeluguCookingdelights 6 жыл бұрын
Hi, Instead of repeating this task each and every time manually is there any query to perform the same operation. Thanks in advance
@nnaveen646
@nnaveen646 4 жыл бұрын
I want the live data to get exported from Excel to SQL server automatically at scheduled intervals?
@SQLwithManoj
@SQLwithManoj 3 жыл бұрын
You need SSIS for this and you will need to create SQL-Job to schedule to run at specific intervals.
@Veemes1
@Veemes1 4 жыл бұрын
Lifesaver!
@noradlinarosli380
@noradlinarosli380 6 жыл бұрын
Hi Sir, For the column in excel, should be follow the sequence in sql table? Thank you
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@montoyescoful
@montoyescoful 6 жыл бұрын
I have multiple tables in one single sheet in Excel (all of them in table format). How do I import them into SQL Server?
@SQLwithManoj
@SQLwithManoj 6 жыл бұрын
you can check my another video on this: kzbin.info/www/bejne/Y4G8ZqqLZZqkiMU
@pauls7056
@pauls7056 7 жыл бұрын
Great video, Manoj. Short, well explained and easy to follow. Thank you for posting.
@yuvrajpatil55
@yuvrajpatil55 7 жыл бұрын
how to import today data from particular table... please request you make such video and share
@SQLwithManoj
@SQLwithManoj 7 жыл бұрын
sure @Yuvraj, can you please provide more detail on your ask?
@yuvrajpatil55
@yuvrajpatil55 7 жыл бұрын
i have import data from sql server to know department wise current date sale but it's showing all table i need only today's date data from sql . so please suggest
@SQLwithManoj
@SQLwithManoj 7 жыл бұрын
see, your table should have a column to determine today's data. If its there then you can apply filter by WHERE clause to get today's or a specific date. Like: WHERE CreatedDateColumn = GETDATE();
@ayushisahu9926
@ayushisahu9926 3 жыл бұрын
Thanks the vedio was so helpful but facing few error
@SiloTvGaming
@SiloTvGaming 5 жыл бұрын
Outstanding job!
@muhammadomer3676
@muhammadomer3676 7 жыл бұрын
Good Tutorial. Can you please tell how to import specific columns from excel file into an existing table?
@SQLwithManoj
@SQLwithManoj 7 жыл бұрын
To import specific columns you can either: 1. copy excel worksheet with specific columns you want 2. dump data in another table, then use specific columns into your main target table.
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@amittechnicalagra
@amittechnicalagra Жыл бұрын
​@@SQLwithManojkzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@drs10301
@drs10301 6 жыл бұрын
Hi, Could you please help me how to import data from excel to sql server using sql script
@SQLwithManoj
@SQLwithManoj 5 жыл бұрын
sorry for replying late, but this can be done by using OPENQUERY() or Linked Server, link: sqlwithmanoj.com/2010/11/12/query-excel-file-source-through-linked-server/
@dz-zs2vj
@dz-zs2vj 4 жыл бұрын
hi I have export an excel csv file and I want to add a column using conditional fractionation transformer in ssis how i do that ?
@KarishmaNazShaik
@KarishmaNazShaik 4 жыл бұрын
Where can i find all the inserted values.. its showing table..where all the table got created but where can i find the inserted values file
@rosaccalla1
@rosaccalla1 3 жыл бұрын
thanks so mauch.. ive a problem when I try to import. Ahora ya lo puedo importar correctamente
@99.milestothemoonchubby12
@99.milestothemoonchubby12 7 жыл бұрын
when I import files excel. it show "TITLE: SQL Server Import and Export Wizard ------------------------------The operation could not be completed.------------------------------ ADDITIONAL INFORMATION:The 'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machine. (System.Data)------------------------------ BUTTONS:OK ------------------------------ "
@ManojPandeyManub22
@ManojPandeyManub22 7 жыл бұрын
this issue comes when you Excel & SQL Server are not on same architecture, i.e. 32 bit or 64 bit. I think your SQL Server is on 64 bit, but your Excel or ms office is on 32 bit. Both of them need to be the same, you need to uninstall either of them and install the same version.
@yohannesalmaw484
@yohannesalmaw484 6 жыл бұрын
I do have the same issue.
@SHIVAMKumar-uo3xm
@SHIVAMKumar-uo3xm 4 жыл бұрын
i am getting error. >>> TITLE: SQL Server Import and Export Wizard ------------------------------ The operation could not be completed. ------------------------------ ADDITIONAL INFORMATION: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data) ------------------------------ BUTTONS: OK ------------------------------
@jackiecooper9439
@jackiecooper9439 10 ай бұрын
Getting the same error. Did you find any resolution?
@bikassingh7469
@bikassingh7469 6 жыл бұрын
Awesome man. Thank you so much
@tiwari_gulshan
@tiwari_gulshan 5 жыл бұрын
Sir i am importing a excel file where in one column has date in it but some row are blanks while importing this file have given this date datatype as database data but its showing error could please suggest me correct one
@dipakmaiti2676
@dipakmaiti2676 3 ай бұрын
excellent
@rajendiranwalaja7101
@rajendiranwalaja7101 4 жыл бұрын
Thanks
@sruthimeena3782
@sruthimeena3782 6 жыл бұрын
What to do, in my sql server the data source is not shown excel. It only sql client and oledb.net connection
@PK0608
@PK0608 3 жыл бұрын
No one gives a link to the Excel or CSV file used in this video. Disappoint to see even Manoj did not do it. I am getting error.
@cesarl.c.847
@cesarl.c.847 3 жыл бұрын
Hi Prakash... may be your interest to check LoaderDataPlus tool, loads and verifies flat files and exports them to MariaDB, MySQL, PostgreSQL, Oracle, SQLSERVER, SQLite.
@jaykumarnilkanth2354
@jaykumarnilkanth2354 2 жыл бұрын
hi sir, I am not able to get the task option, I am still stuck on how to import the data can you please help me with that
@kishoreak302
@kishoreak302 5 жыл бұрын
Thanks for the video..can u let us know how add additional new rows in this table from excel?
@PhilcoCup
@PhilcoCup 5 жыл бұрын
That would be done with the Insert command, you might want to check out the good tutorials at w3 schools www.w3schools.com/sql/sql_insert.asp
@primarqo
@primarqo 2 жыл бұрын
You just use existing table in destination instead of new table.
@emma6366
@emma6366 Жыл бұрын
i don't have the option sql server native client 11.0 option what should i do ?
@maramalbadrani5453
@maramalbadrani5453 Жыл бұрын
Do you find any solution? I have the same problem
@emma6366
@emma6366 Жыл бұрын
@@maramalbadrani5453 ​ there are 2 solutions: 1- download visual studio installer and follow all the steps then reinstall ssms. 2- (someone else's comment) As of 6.25.2023, So I have the Microsoft SQL SERVER 2022 version 64 bit install. I was able to get it to work by installing the latest "Microsoft ODBC Driver for SQL Server" and choosing that one as the destination since the SQL Server Native Client 11.0 no longer appears as an option.
@rondunphy9433
@rondunphy9433 6 жыл бұрын
Thank you!
@mayanksapra6507
@mayanksapra6507 Жыл бұрын
Hello Sir, Thanks for this video. I am using SSMS 19.1, in this version this option "SQL Server Native client 11" is not listed as destination in SQL Server import and export wizard. Can you please share a solution how can i fix this?
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@blackpanther9809
@blackpanther9809 5 жыл бұрын
there is no option as microsoft excel in the data source ,,what should i do
@PhilcoCup
@PhilcoCup 5 жыл бұрын
Maybe it was not included on installation, or maybe yo do not have Excel?
@wendyk9694
@wendyk9694 6 жыл бұрын
What if you don't have Microsoft.ACE.OLEDB registered on your local machine?
@basheerj1754
@basheerj1754 5 жыл бұрын
Manoj, could you please answer to this question, i dont have Microsoft.ACE.OLEDB provider registered in my local machine, pls help us through...
@manishpatel9294
@manishpatel9294 4 жыл бұрын
Hi Manoj ji, I want to import 5 lacs raw from just one excel table to sql table and I did it yesterday but still it is on stuck at “copying to” on 10th step is almost more then 14 hours, kindly support me in this matter
@prasunjeetsoni6143
@prasunjeetsoni6143 7 жыл бұрын
great it works..
@shravankumarerra7936
@shravankumarerra7936 3 жыл бұрын
Good sir.....can u please teach us full course on MS SQL server DBA in 1 video......it wil help us sir....
@amittechnicalagra
@amittechnicalagra Жыл бұрын
kzbin.info/www/bejne/fYi7nX-opaqbiJYsi=HLf4dhBCL2nrgr7B
@buildyourself009
@buildyourself009 5 ай бұрын
not done bro...
@vinaydubey9590
@vinaydubey9590 4 жыл бұрын
i am getting this result while import from excel please help. TITLE: SQL Server Import and Export Wizard ------------------------------ The operation could not be completed. ------------------------------ ADDITIONAL INFORMATION: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data) ------------------------------ BUTTONS: OK ------------------------------
@SQLwithManoj
@SQLwithManoj 4 жыл бұрын
you need to install the "Microsoft Access Database Engine", check this link: sqlwithmanoj.com/2016/12/24/sql-error-the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine-system-data/
@Jmtreciever2
@Jmtreciever2 Жыл бұрын
Getting error
How to import data from Microsoft Excel into Microsoft SQL Server
9:28
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
You Can Now Use SQL in Excel! (This Changes Everything)
7:31
Coding Is Fun
Рет қаралды 33 М.
Use Excel to Connect to SQL Server Data
13:51
Anthony Smoak
Рет қаралды 119 М.
How to EASILY Import data from EXCEL to SQL Server Tables [2024]
10:00
Ryan & Matt Data Science
Рет қаралды 17 М.
How to import data from Microsoft Excel into Microsoft SQL Server
13:00
Step-by-Step Data Migration: Excel to SQL Server with Power Automate Flow
17:33
Deep dive: Using JSON with SQL Server
43:08
SQL with Manoj
Рет қаралды 21 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
Passing Parameter Values from Excel to SQL Server
21:47
Anthony Smoak
Рет қаралды 32 М.
Day12: Importing Data From Excel File Into Existing Tables in SQL Server
8:48
Learning Programming Tutorial
Рет қаралды 28 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН