146 How to overwrite data in excel using ssis

  Рет қаралды 1,425

Learn SSIS

Learn SSIS

Күн бұрын

Пікірлер: 20
@freakzisback
@freakzisback Жыл бұрын
Thank you this was great to learn
@learnssis
@learnssis Жыл бұрын
Thank you Bryan.
@mozjdmconnection
@mozjdmconnection Жыл бұрын
awesome video, thank you
@learnssis
@learnssis Жыл бұрын
Thank you for appreciating.
@Abbathsin
@Abbathsin 3 ай бұрын
it worked well just what I needed, the only problem is to append data in the excel doesn't increase the existing table.
@learnssis
@learnssis 3 ай бұрын
Okay great. Yes that is true.
@Abbathsin
@Abbathsin 3 ай бұрын
@@learnssis I have been using mostly ADF over the years but i came across ssis recently, lot to learn.
@hariherdiawan1824
@hariherdiawan1824 10 ай бұрын
hello Mr., I have a problem with code like this [Excel Destination [260]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Cannot expand named range.". Please help me to fix it, thanks!
@samuna8950
@samuna8950 Жыл бұрын
Sir suppose i have 5 different tables which i want to union in ssis along with that there data should be updated or deleted and if there is new data that should be inserted. How to i handle these things
@learnssis
@learnssis Жыл бұрын
you would need to use the incremental load and there you can handle new\updated\deleted records kzbin.info/www/bejne/mIvEmq2Bq7d0btE
@samuna8950
@samuna8950 Жыл бұрын
@@learnssis sir it is a fact table created by using unions and the records might have same pks also
@swapnilparikh8335
@swapnilparikh8335 Жыл бұрын
can you help me here I have 5 Excel File and i want these data in 1 destination file- Sql server , but when i am running for each loop if data is overwrite it will overwrite all data what to in that case
@learnssis
@learnssis Жыл бұрын
If you have multiple files of same columns, then you can easily import them to sql server table using the foreach loop container. And no data will be overwritten kzbin.info/www/bejne/inmcoad3oKh7hKM
@samderrty123
@samderrty123 2 ай бұрын
mine does not start at row 2 when I run the package. Any thoughts? thank you
@samderrty123
@samderrty123 2 ай бұрын
I solved it. Thanks
@learnssis
@learnssis 2 ай бұрын
@@samderrty123 Glad you were able to fix it.
@romariovargas2586
@romariovargas2586 Жыл бұрын
It is always great to learn something new with you, thank you very much for sharing your knowledge, but I need help, I want to connect to Google Drive (spreadsheet) to get my data, how would I do it? Thanks in advance
@learnssis
@learnssis Жыл бұрын
thanks, actually there is no inbuilt task in SSIS for doing this, most probably we would need to write some code in C#, I will check on this one and will let you know. Thanks.
@ramakrishnanpalanisamy5058
@ramakrishnanpalanisamy5058 Жыл бұрын
Hi Aqil, I recently mailed you for the doubt i had in query logic. Can you please help me
@learnssis
@learnssis Жыл бұрын
I have provided you the sql queries those I got from chatgpt, they seems to be working fine. You can take help from chatgpt about sql queries drop table InvoiceData -- Create the table CREATE TABLE InvoiceData ( ID INT PRIMARY KEY, Reference_no VARCHAR(50), File_Name VARCHAR(255), Sheet_Name VARCHAR(50), Date_xx DATE, Invoice_amt INT, Payor_name VARCHAR(255), Account VARCHAR(50), Transit_Mode VARCHAR(50), Mode_Of_Transport VARCHAR(50) ); -- Insert data into the table INSERT INTO InvoiceData (ID, Reference_no, File_Name, Sheet_Name, Date_xx, Invoice_amt, Payor_name, Account, Transit_Mode, Mode_Of_Transport) VALUES (6, 'AC9671307accessorialAug 31 2023 12:00PM', 'Recap by with invoice SEPT2023.xls', 'Sheet1$', '2023-10-02', 120, 'CUMMINS POWER GENERATION LTD (CES )', 'SA-00968363accessorial', '-15', 'accessorial'), (4, 'AC9671307accessorialAug 31 2023 12:00PM', 'Recap by with invoice SEPT2023.xls', 'Sheet1$', '2023-10-04', 120, 'CUMMINS POWER GENERATION LTD (CES )', 'SA-00968363accessorial', '-15', 'accessorial'), (5, 'AC9671307accessorialAug 31 2023 12:00PM', 'Recap by with invoice SEPT2023.xls', 'Sheet1$', '2023-10-05', 360, 'CUMMINS POWER GENERATION LTD (CES )', 'SA-00968363accessorial', '-15', 'accessorial'); go Now your select query SELECT t1.ID, t1.Reference_no, t1.File_Name, t1.Sheet_Name, t1.Date_xx, t2.Total_Invoice_amt, t1.Payor_name, t1.Account, t1.Transit_Mode, t1.Mode_Of_Transport FROM InvoiceData t1 JOIN ( SELECT Reference_no, MIN(Date_xx) AS Min_Date_xx, SUM(Invoice_amt) AS Total_Invoice_amt FROM InvoiceData GROUP BY Reference_no ) t2 ON t1.Reference_no = t2.Reference_no AND t1.Date_xx = t2.Min_Date_xx;
154 How to export data to multiple excel files in SSIS
27:42
Learn SSIS
Рет қаралды 2,8 М.
156 How to change excel column to numeric in ssis
23:59
Learn SSIS
Рет қаралды 1,2 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
129 How do you load a fact table
32:14
Learn SSIS
Рет қаралды 11 М.
Change These 10 Settings Before You Use Excel Again
12:44
Kenji Explains
Рет қаралды 130 М.
37 Script Component Transformation in SSIS
13:04
Learn SSIS
Рет қаралды 31 М.
What if all the world's biggest problems have the same solution?
24:52
Complete report in Excel with just ONE formula!
13:13
Excel Off The Grid
Рет қаралды 20 М.
The Excel Tool That Does What PivotTables Can’t (File Included)
13:59
MyOnlineTrainingHub
Рет қаралды 305 М.
Excel Macros & VBA - Tutorial for Beginners
50:20
Kevin Stratvert
Рет қаралды 1,3 МЛН
147 How to do PGP encryption and decryption using ssis
23:31
Learn SSIS
Рет қаралды 2,6 М.
111 How to export data to new excel file every time in ssis
14:35
For Loop Container in SSIS Example [Real Time Example]
20:50
Gurunatha D
Рет қаралды 7 М.