CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2885|Reply: 12

CONVERT EXCEL TO SQL SERVER

[Copy link]
Post time 12-9-2006 03:30 PM | Show all posts |Read mode
ade tak sesape yg tau cammane nak convert .csv or .xls file masuk dalam sql server

ade tools lat internet tp semuanyer trial version or limit to 50 records..
gune script via enterprise mgr or sql analyzer boleh tak..

pls guide me
Reply

Use magic Report


ADVERTISEMENT


Post time 12-9-2006 04:48 PM | Show all posts
Originally posted by okiedookie at 12-9-2006 03:30 PM
ade tak sesape yg tau cammane nak convert .csv or .xls file masuk dalam sql server

ade tools lat internet tp semuanyer trial version or limit to 50 records..
gune script via enterprise mgr or s ...


kenapa nak pakai third party software? Boleh pakai enterprise manager terus..
Reply

Use magic Report

Post time 12-9-2006 05:02 PM | Show all posts
kalau nak free.......

kalau MSSQL boleh impot terus dari excel rasanya

kalau nak export ke MySQL
buat file access.........
import data excel ke access

lepas tu guna mysql migration tool http://dev.mysql.com/downloads/gui-tools/5.0.html

free je
Reply

Use magic Report

Post time 12-9-2006 05:12 PM | Show all posts
Aku assume pakai SQL Server 2000.Ini adalah sample jika menggunakan Enterprise Manager.

Untuk Import file MS Excel

1) Right click destination table.Choose All Task > Import data.
Kalau table itu tak ada,cuma right click atas database.



Akan keluar screen ni



2) Untuk data source,pilih Microsoft Excel 97-2000 (atau version lain yg relevan)
Pilih lokasi fail tersebut.



Lepas klik next akan keluar



Disebabkan kita dah awal2 tadi login dlm Enterprise manager,takyahlah ubah apa2 destination.Klik next aje

3) dan klik next



4) Kat sini boleh ubah nama table dan fine tune column dan size column.



5) Finish..

Rate

1

View Rating Log

Reply

Use magic Report

Post time 12-9-2006 05:22 PM | Show all posts
dan untuk CSV files,step sama sahaja..cuma utk data source,pilih 'Text File'.




pilih sama ada column itu delimited atau fixed field.
delimited=setiap colum diseparate oleh satu character
fixed=panjang setiap column adalah tetap.



Kalau pilih delimited,akan keluar column separator..biasanya comma.tapi boleh pilih separator lain.



dan step mcm import excel file tadi..

Rate

1

View Rating Log

Reply

Use magic Report

Post time 13-9-2006 08:06 AM | Show all posts
bagus la ko autra.........siap bagi gambar........
Reply

Use magic Report

Follow Us
Post time 13-9-2006 08:37 AM | Show all posts
saper boleh baigi contoh utk SQL server 2005... nanti saya bagi kredit :bgrin:
Reply

Use magic Report

Post time 14-9-2006 08:38 AM | Show all posts
Originally posted by shahnazz at 13-9-2006 08:37 AM
saper boleh baigi contoh utk SQL server 2005... nanti saya bagi kredit :bgrin:


tak pernah cuba lagi sbb takde development server utk test.Anyway,aku rasa lagi senanglah kut daripada SQL Server 2000.Tapi dari segi installation dan nak bagi upkan database utk bagi org lain access,SQL Server 2005 ambil lebih steps sebab by default dia run dlm lockdown mode.
Reply

Use magic Report


ADVERTISEMENT


Post time 18-9-2006 09:09 PM | Show all posts
apa yang ultra78   bagi tu dah ok dah
aku pun guna cara tu jugak
senang je
dulu zaman bodoh aku .. aku siap convert ke access pastu baru ke sql
sekarang dari sql dah bleh ambil dari xcel file
good luck dan selamat mencuba
Reply

Use magic Report

Post time 19-9-2006 02:30 PM | Show all posts
hi okie... u pakai server apa?? sybase ke my sql??
kalau nak import .xl ke sybase atau sebaliknya... saya tau le..
Reply

Use magic Report

Post time 20-9-2006 05:26 PM | Show all posts

Reply #10 alam_maya's post

care to explain it? boleh bagi tunjuk ajar sikit :bgrin:
nanti saya bagi kredit..

ada lagi yang pakai sybase ker?
Reply

Use magic Report

Post time 20-9-2006 06:26 PM | Show all posts
wah sybase..mmg niche database...
Reply

Use magic Report

 Author| Post time 25-9-2006 03:11 PM | Show all posts
thank u.. skrg dah berjaya mengimport excel masuk ke sqlserver

tp ade pulak saru fail dbf dr customer ni.. ok boleh gak terus import tp field tak same.. camman nak convert .dbf file ni ke excel or nak tgk isi kandungan dbf file tu
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT


Forum Hot Topic
...BYE 2024, HELLO 2025...
seribulan...BYE 2024, HELLO 2025...
Views : 54993 Replies : 13
...AZAM TAHUN 2025...
seribulan...AZAM TAHUN 2025...
Views : 55522 Replies : 25
[Netflix 2021] SQUID GAME Season 1,2,3 - Lee Jung Jae, Lee Byung Hun, Wi Ha Joon, Gong Yoo ~ 26 Dec 2024 (Season 2), 2025 (Final Season)
Rahah[Netflix 2021] SQUID GAME Season 1,2,3 -
Views : 29125 Replies : 254
...CHAT HUMANITARY...HAPPY NEW YEAR...
seribulan...CHAT HUMANITARY...HAPPY NEW YEAR...
Views : 44248 Replies : 29
V82: HANIS HAIZI B. ABD HAMID Melarikan Diri Dari Bayar Cukai LHDN Ke Los Angeles CA
anony-mousV82: HANIS HAIZI B. ABD HAMID Melarikan
Views : 11125 Replies : 449
New Chapter 01: FATTAH AMIN ~ Bebaskanlah mimpi-mimpi terindah
codenamedreamNew Chapter 01: FATTAH AMIN ~ Bebaskanla
Views : 47200 Replies : 1958
siri ikonik Korea, Squid Game 2 ditayangkan di Neflix hari ini
YgBenarsiri ikonik Korea, Squid Game 2 ditayang
Views : 13087 Replies : 5
Instafamous Rempit (kak yah, kak zah & the geng) part 3
hotmakInstafamous Rempit (kak yah, kak zah & t
Views : 232317 Replies : 1832
madu gula tok matahari
aaanf14madu gula tok matahari
Views : 109982 Replies : 1152
Acikpor vs. Ngai, isu tajaan MARA dikorek
maklukpenggodaAcikpor vs. Ngai, isu tajaan MARA dikore
Views : 52274 Replies : 1477

 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

28-12-2024 06:39 AM GMT+8 , Processed in 0.063714 second(s), 31 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list