taariq
2009-11-27 05:22:24 UTC
Hi
I have a big problem with an SSIS package. First of all it’s running on a
windows server 2003, SQL server 2005 and Office 2003. The package is
responsible for exporting data from a database to an excel sheet. There is a
field date which has been converted in the format DD/MM/YYYY in the SQL. When
I test the query in SQL server I got the right date format and also when I
run the package via the SQL server business intelligent development studio.
However my problem is that when it is executed via xp_cmdshell in a stored
procedure (called by an application), in the same Excel sheet I got date for
some records in the format DD/MM/YYYY and other records MM/DD/YYYY.
Can such thing be resolved? Is there is bug somewhere
Please help its urgent
I have a big problem with an SSIS package. First of all it’s running on a
windows server 2003, SQL server 2005 and Office 2003. The package is
responsible for exporting data from a database to an excel sheet. There is a
field date which has been converted in the format DD/MM/YYYY in the SQL. When
I test the query in SQL server I got the right date format and also when I
run the package via the SQL server business intelligent development studio.
However my problem is that when it is executed via xp_cmdshell in a stored
procedure (called by an application), in the same Excel sheet I got date for
some records in the format DD/MM/YYYY and other records MM/DD/YYYY.
Can such thing be resolved? Is there is bug somewhere
Please help its urgent