dbTalk Databases Forums  

Sybase 12.5 data extraction

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Sybase 12.5 data extraction in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jslutzky
 
Posts: n/a

Default Sybase 12.5 data extraction - 03-02-2006 , 09:49 AM






Firstly, I am able to import data from Sybase to SQL Server 2000 without a
problem using the Sybase ASE ODBC Driver. Some of the tables in the
Application database on Sybase have literal field names timestamp and time,
which are reserved words on MSSQL, therefore when using a query within the
import, I am unable to protect those field names or cast or convert those
fields.

Here is an example of a query that works with no errors, but not actually
works:

select Timestamp,ApplicationID,Application,CallsAbandoned ,Time,SiteID,Site
from blue.dbo.iApplicationStat

But when adding the protection for fields you are not able to due to odbc
errors and am not able to run any functions on it either:

select
[Timestamp],ApplicationID,Application,CallsAbandoned,[Time],SiteID,Site from
blue.dbo.iApplicationStat

Bottom line is I want to be able to place in the select statement a where
clause condition and I know this is kind of a long drawn out question, but
has anyone had any experience in this?


Any help would be greatly appreciated.

Thanks

Jeff


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.