If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Excel to SQL server connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-12-06, 06:45
Rebekh Rebekh is offline
Registered User
 
Join Date: Aug 2006
Posts: 2
Excel to SQL server connection

Hi all,
i have connected the Excel sheet to SQL server. It is connected, but there is one error in SQL table. The error is :
I have given the employee list of excel to SQL. In Excel sheet i have used the Employee id in short form like (emp.id). the SQL did not take the (.) character. It displays (emp#id) like this. (this problem is on heading only).how to avoid this error.

Thanx in advance
Reply With Quote
  #2 (permalink)  
Old 08-13-06, 22:01
mkggoh mkggoh is offline
Registered User
 
Join Date: Jun 2006
Posts: 103
Quote:
Originally Posted by Rebekh
Hi all,
i have connected the Excel sheet to SQL server. It is connected, but there is one error in SQL table. The error is :
I have given the employee list of excel to SQL. In Excel sheet i have used the Employee id in short form like (emp.id). the SQL did not take the (.) character. It displays (emp#id) like this. (this problem is on heading only).how to avoid this error.

Thanx in advance
i m not sure if this can solve your problem, but u can give it a try, try

[emp.id], this idea come in access, i notice access will make any column name as [column name], with this [], it will take anything in between as your field name.
Reply With Quote
  #3 (permalink)  
Old 08-14-06, 06:47
Rebekh Rebekh is offline
Registered User
 
Join Date: Aug 2006
Posts: 2
I have tried the column name as [emp.id]. but i have got the result like (emp#id) in SQL server . Is there any method
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On