hi,
how can i take data from an Excel spread sheet and populate
a SQL-server database . I have 4-5 spread sheets which are
constantly updated real time. All updates,deletes,inserts in Excel
must be reflected in SQL server concurrently.
thanks
aparThe equivalent of SQL Server trigger in Excel can be handled with Worksheet_Change() event. So, write your vba to connect to SQL Server and update the changes.
Showing posts with label sql-server. Show all posts
Showing posts with label sql-server. Show all posts
Wednesday, March 7, 2012
Friday, February 24, 2012
Importing an excel file to SQL-Server Tables
Hi All
Iam planning to import an Excel file into a SQL Table. In one of the colums
the data is like '123dsfgf' and it is taking as NULLS when I import into sql
Table. where as the value like '123454' is working fine.
Any Ideas please
THanks
Open up your excel spreadsheet, highlight this column, right click and
select format cells. In the number tab, select Text for this Column.
Reimport the spreadsheet.
Hilary Cotter
Looking for a SQL Server replication book?
Now available for purchase at:
http://www.nwsu.com/0974973602.html
"TZ" <TZ@.discussions.microsoft.com> wrote in message
news:7BEC7751-CBA0-45D4-AF3B-0B1F58735B1C@.microsoft.com...
> Hi All
> Iam planning to import an Excel file into a SQL Table. In one of the
colums
> the data is like '123dsfgf' and it is taking as NULLS when I import into
sql
> Table. where as the value like '123454' is working fine.
> Any Ideas please
> --
> THanks
|||Hilary,
I tried as u had mentioned and still it is not working
"Hilary Cotter" wrote:
> Open up your excel spreadsheet, highlight this column, right click and
> select format cells. In the number tab, select Text for this Column.
> Reimport the spreadsheet.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> Now available for purchase at:
> http://www.nwsu.com/0974973602.html
>
> "TZ" <TZ@.discussions.microsoft.com> wrote in message
> news:7BEC7751-CBA0-45D4-AF3B-0B1F58735B1C@.microsoft.com...
> colums
> sql
>
>
|||post this to the SQL DTS newsgroup.
"TZ" <TZ@.discussions.microsoft.com> wrote in message
news:853F8FB5-04D6-4692-A625-04AC4F53BCD0@.microsoft.com...[vbcol=seagreen]
> Hilary,
> I tried as u had mentioned and still it is not working
> "Hilary Cotter" wrote:
Iam planning to import an Excel file into a SQL Table. In one of the colums
the data is like '123dsfgf' and it is taking as NULLS when I import into sql
Table. where as the value like '123454' is working fine.
Any Ideas please
THanks
Open up your excel spreadsheet, highlight this column, right click and
select format cells. In the number tab, select Text for this Column.
Reimport the spreadsheet.
Hilary Cotter
Looking for a SQL Server replication book?
Now available for purchase at:
http://www.nwsu.com/0974973602.html
"TZ" <TZ@.discussions.microsoft.com> wrote in message
news:7BEC7751-CBA0-45D4-AF3B-0B1F58735B1C@.microsoft.com...
> Hi All
> Iam planning to import an Excel file into a SQL Table. In one of the
colums
> the data is like '123dsfgf' and it is taking as NULLS when I import into
sql
> Table. where as the value like '123454' is working fine.
> Any Ideas please
> --
> THanks
|||Hilary,
I tried as u had mentioned and still it is not working
"Hilary Cotter" wrote:
> Open up your excel spreadsheet, highlight this column, right click and
> select format cells. In the number tab, select Text for this Column.
> Reimport the spreadsheet.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> Now available for purchase at:
> http://www.nwsu.com/0974973602.html
>
> "TZ" <TZ@.discussions.microsoft.com> wrote in message
> news:7BEC7751-CBA0-45D4-AF3B-0B1F58735B1C@.microsoft.com...
> colums
> sql
>
>
|||post this to the SQL DTS newsgroup.
"TZ" <TZ@.discussions.microsoft.com> wrote in message
news:853F8FB5-04D6-4692-A625-04AC4F53BCD0@.microsoft.com...[vbcol=seagreen]
> Hilary,
> I tried as u had mentioned and still it is not working
> "Hilary Cotter" wrote:
Subscribe to:
Posts (Atom)