Hi ahmedashal,
Can you please provide some more details, like SQL Statements, Stored Proc, or .Net front end statements.
and table defenitions, so i can provide code for that.
Normally you can use CONVERT() function of SQL Server, to convertvalue to any SQL DataType. so you might solve your problem by using that,
If you need more help, let me know. i will send you code.
Thank You,
Best Regards
Utkarsh Gajjar.