Click here to Skip to main content
15,905,144 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created excel sheet which contains the column mobile number.

I created the sql query to import from excel sheet...

after executing,,, the table imported with all detail from excel sheet to database.But the mobile number column is looking like this 9.56321e+009....

But I need to get 10 digit mobile number fully...

Can anyone help me.....
Posted

1 solution

Make the column type in the database table as varchar. You must have made it float or other numeric type so the database displays the number formatted according to the column type.

Remember always use varchar or text type for mobile numbers or phone numbers
 
Share this answer
 
Comments
vivekx2 3-Apr-12 10:09am    
Thank u for ur comment...Problem get solved
bbirajdar 4-Apr-12 3:29am    
Welcome.. Please mark it as answer if the solution is correct.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900