How to deal with image type from SQL*Server2005

when using transparent gateway between oracle 10 g and SQL*Server 2005 querying image type from SQL*Server 2005 error returned as follow:
ORA-28500: When ORACLE connect to a non-Oracle system return this information:
[Transparent gateway for MSSQL] (SQL State: 00000; SQL Code: 2090171257)
ORA-02063: Followed by 2 lines (From OKFOC)
My SQL is: select "attachment" from table@dblink where "empid"=empid
I am using image type to store attachments.
Regards!
Edited by: BK_Ferdinand on 2013-1-10 下午7:09

(0) Original SQL:
(0) select NON_UNIQUE , INDEX_NAME , TYPE , SEQ_IN_INDEX , COLLATION ,
CARDINALITY , COLUMN_NAME from NAV_PROC : SP_STATISTICS ( 'OKFOC' , '%'
, 'T_FLY_FLYER_REWARD' , 1 , 0 , 0 ) order by 3 , 1 , 2 , 4
(0)
(0)
(0) Accessing saved query spec SP_STATISTICS()
(0) from NAV_PROC DB
(0)
Execution Strategy End >>>>>>>>>>>>>>>>>>>>>>>>>>>>(0) <PROC> : -->>>> OPEN
(0) <PROC> < OK>: OPEN SP_STATISTICS(0)
(0) <PROC> : -->>>> SET_BUFFER
(0) <PROC> < OK>: SET_BUFFER SP_STATISTICS(0)
(0) <PROC> : -->>>> SET_PARAMS
(0) <PROC> < OK>: SET_PARAMS SP_STATISTICS(0)
(0) <PROC> : -->>>> FETCH
(0) <PROC> < OK>: FETCH SP_STATISTICS(0)
(0) <PROC> : -->>>> FETCH
(0) <PROC> < EOS>: FETCH SP_STATISTICS(0)
(0) <PROC> : -->>>> CLOSE
(0) <PROC> < OK>: CLOSE SP_STATISTICS(0)
(0) HOAUTIL.C (1259): ; ------ hoadtab (hoat) -------:
(0) HOAUTIL.C (1262): ; hoatnam: T_FLY_FLYER_REWARD, hoatnml: 18,
hoatnrw: 3,
(0) hoatarl: 1881
(0) HOAUTIL.C (1273): ; ------ hoadtab (hoai) -------:
(0) HOAUTIL.C (1274): ; n_index_stat: 0
(0) HOAUTIL.C (1224): ; -------- hoadtab for table T_FLY_FLYER_REWARD--
(0) HOAUTIL.C (1225): ; hoadamsz: 12, hoadasiz: 12, hoadambr: 1,
hoadabrc: 0
(0) HOAUTIL.C (1228): ; row 0 - hoadambl: 4, hoadadty: 8, hoadaprc: 10,
hoadacst: 0
(0) HOAUTIL.C (1232): ; row 0 - hoadascl: 0, hoadanul: 1, hoadanml: 4,
hoadanam:
(0) pkid, hoadabfl: 4, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 1 - hoadambl: 4, hoadadty: 8, hoadaprc: 10,
hoadacst: 0
(0) HOAUTIL.C (1232): ; row 1 - hoadascl: 0, hoadanul: 1, hoadanml: 5,
hoadanam:
(0) empid, hoadabfl: 4, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 2 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
hoadacst:
(0) 0
(0) HOAUTIL.C (1232): ; row 2 - hoadascl: 0, hoadanul: 1, hoadanml: 9,
hoadanam:
(0) startdate, hoadabfl: 7, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 3 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
hoadacst:
(0) 0
(0) HOAUTIL.C (1232): ; row 3 - hoadascl: 0, hoadanul: 1, hoadanml: 7,
hoadanam:
(0) enddate, hoadabfl: 7, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 4 - hoadambl: 8, hoadadty: 14, hoadaprc: 8,
hoadacst:
(0) 1000
(0) HOAUTIL.C (1232): ; row 4 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
hoadanam:
(0) recate, hoadabfl: 8, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 5 - hoadambl: 100, hoadadty: 14, hoadaprc:
100,
(0) hoadacst: 1000
(0) HOAUTIL.C (1232): ; row 5 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
hoadanam:
(0) retype, hoadabfl: 100, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 6 - hoadambl: 400, hoadadty: 14, hoadaprc:
400,
(0) hoadacst: 1000
(0) HOAUTIL.C (1232): ; row 6 - hoadascl: 0, hoadanul: 1, hoadanml: 7,
hoadanam:
(0) rereson, hoadabfl: 400, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 7 - hoadambl: 1000, hoadadty: 14, hoadaprc:
1000,
(0) hoadacst: 1000
(0) HOAUTIL.C (1232): ; row 7 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
hoadanam:
(0) remark, hoadabfl: 1000, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 8 - hoadambl: 40, hoadadty: 14, hoadaprc:
40,
(0) hoadacst: 1000
(0) HOAUTIL.C (1232): ; row 8 - hoadascl: 0, hoadanul: 1, hoadanml: 12,
hoadanam:
(0) lastmodifier, hoadabfl: 40, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 9 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
hoadacst:
(0) 0
(0) HOAUTIL.C (1232): ; row 9 - hoadascl: 0, hoadanul: 1, hoadanml: 14,
hoadanam:
(0) lastmodifidate, hoadabfl: 7, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 10 - hoadambl: 2147483647, hoadadty: 166,
hoadaprc:
(0) 2147483647, hoadacst: 0
(0) HOAUTIL.C (1232): ; row 10 - hoadascl: 0, hoadanul: 1, hoadanml: 10,
hoadanam:
(0) attachment, hoadabfl: 2147483647, hoadamod: 0
(0) HOAUTIL.C (1228): ; row 11 - hoadambl: 200, hoadadty: 14, hoadaprc:
200,
(0) hoadacst: 1000
(0) HOAUTIL.C (1232): ; row 11 - hoadascl: 0, hoadanul: 1, hoadanml: 14,
hoadanam:
(0) attachmentname, hoadabfl: 200, hoadamod: 0
(0) hoadtab (26): ; hoadtab Exited with retcode = 0.
(0) hoadafr (23): ; hoadafr Entered. id = 0.
(0) hoadafr (23): ; hoadafr Exited with retcode = 0.
(0) hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
(0) nvOUT (F:\Work\Connect_4_6_3\src\qp\QP_SQTXT.C 55): SELECT
A1."attachment"
(0) FROM "T_FLY_FLYER_REWARD" A1 WHERE A1."empid"=10004036
(0) nvRETURN (F:\Work\Connect_4_6_3\src\qp\qpsynon.c 1140): -1
(0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
(0)
(0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12E7C0
(0) r: 113 0 SQLPrepare:- hst=14254F0, css=14785772
(0) Ssss = SELECT "A1"."attachmentname" AS c001,
"A1"."lastmodifid
ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
AS c0
04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
"A1"."recat
e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
c009,
"A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
"T_FLY_FLYER_RE
WARD" "A1" WHERE ("A1"."empid" = 10004036)
(0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12E6DE,
pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12E6DE,
pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E4
(0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
(0) <<<<<<<<<<<<<<<<<<< Execution Strategy Begin
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(0) Original SQL:
(0) SELECT A1 . "attachment" FROM "T_FLY_FLYER_REWARD" A1 WHERE A1 .
"empid" = 10004036
(0)
(0)
(0) Accessing Database 'OKFOC' with SQL:
(0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
(0)
(0)
Execution Strategy End >>>>>>>>>>>>>>>>>>>>>>>>>>>>(0) hoapars (15): ; hoapars Exited with retcode = 0.
(0) hoaopen (19): ; hoaopen Entered. id = 1.
(0) hoaopen (19): ; hoaopen Exited with retcode = 0.
(0) hoadscr (16): ; hoadscr Entered. id = 1.
(0) hoastmt.c (304): ; Array fetch size is: 1.
(0) HOAUTIL.C (1224): ; ------ hoadscr() -------:
(0) HOAUTIL.C (1225): ; hoadamsz: 1, hoadasiz: 1, hoadambr: 1, hoadabrc:
1
(0) HOAUTIL.C (1228): ; row 0 - hoadambl: 2147483647, hoadadty: 166,
hoadaprc:
(0) 2147483647, hoadacst: 0
(0) HOAUTIL.C (1232): ; row 0 - hoadascl: 0, hoadanul: 1, hoadanml: 13,
hoadanam:
(0) A1.attachment, hoadabfl: 2147483647, hoadamod: 0
(0) hoadscr (16): ; hoadscr Exited with retcode = 0.
(0) hoaftch (21): ; hoaftch Entered. id = 1.
(0) apiutil.c (0): ; hoaftch()::
(0) apiutil.c (0): ; Column 0 - pszName: A1.attachment, size: 1827, id:
0, width:
(0) 1827, scale: 0, flags: 68.
(0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
(0)
(0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12EBBC
(0) r: 113 0 SQLPrepare:- hst=14254F0, css=14635668
(0) Ssss = SELECT "A1"."attachmentname" AS c001,
"A1"."lastmodifid
ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
AS c0
04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
"A1"."recat
e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
c009,
"A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
"T_FLY_FLYER_RE
WARD" "A1" WHERE ("A1"."empid" = 10004036)
(0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12EADA,p
st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12EADA,
pst=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12EAE0
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12EADA,
pst=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12EADC
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12EAE0
(0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
(0) e: 744 0 SQLAllocStmt:- hdbc=14247C0,pst=DF7A98
(0) e: 760 0 SQLPrepare:- hst=14254F0, css=14646584
(0) Ssss = SELECT "A1"."attachmentname" AS c001,
"A1"."lastmodifid
ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
AS c0
04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
"A1"."recat
e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
c009,
"A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
"T_FLY_FLYER_RE
WARD" "A1" WHERE ("A1"."empid" = 10004036)
(0) e: 765 0 SQLNumResultCols:- hst=14254F0,pcol=11
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=1,scn=c001,cnm=128,pcn=DFE17A,
pst=DFE17C,pcd=DFE180,psc=DFE184,pnul=DFE186
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=2,scn=c002,cnm=128,pcn=DFE22A,
pst=DFE22C,pcd=DFE230,psc=DFE234,pnul=DFE236
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=3,scn=c003,cnm=128,pcn=DFE2DA,
pst=DFE2DC,pcd=DFE2E0,psc=DFE2E4,pnul=DFE2E6
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=4,scn=c004,cnm=128,pcn=DFE38A,
pst=DFE38C,pcd=DFE390,psc=DFE394,pnul=DFE396
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=5,scn=c005,cnm=128,pcn=DFE43A,
pst=DFE43C,pcd=DFE440,psc=DFE444,pnul=DFE446
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=6,scn=c006,cnm=128,pcn=DFE52A,
pst=DFE52C,pcd=DFE530,psc=DFE534,pnul=DFE536
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=7,scn=c007,cnm=128,pcn=DFE5DA,
pst=DFE5DC,pcd=DFE5E0,psc=DFE5E4,pnul=DFE5E6
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=8,scn=c008,cnm=128,pcn=DFE68A,
pst=DFE68C,pcd=DFE690,psc=DFE694,pnul=DFE696
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=9,scn=c009,cnm=128,pcn=DFE73A,
pst=DFE73C,pcd=DFE740,psc=DFE744,pnul=DFE746
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=10,scn=c010,cnm=128,pcn=DFE7EA
,pst=DFE7EC,pcd=DFE7F0,psc=DFE7F4,pnul=DFE7F6
(0) e: 782 0 SQLDescribeCol:-
hst=14254F0,icol=11,scn=c011,cnm=128,pcn=DFE8EA
,pst=DFE8EC,pcd=DFE8F0,psc=DFE8F4,pnul=DFE8F6
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=1,fct=-
8,rgv=DFF114,cbvm=202,pcv=14
674388
(0) e: 502 0 SQLBindCol:-
hst=14254F0,icl=2,fct=99,rgv=E04024,cbvm=16,pcv=146
98084
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=3,fct=-
8,rgv=E0504C,cbvm=42,pcv=146
98484
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=4,fct=-
8,rgv=E2B004,cbvm=1002,pcv=1
4698884
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=5,fct=-
8,rgv=E060DC,cbvm=402,pcv=14
699284
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=6,fct=-
8,rgv=E43794,cbvm=102,pcv=14
699684
(0) e: 502 0 SQLBindCol:- hst=14254F0,icl=7,fct=-
8,rgv=E0FE0C,cbvm=10,pcv=147
46100
(0) e: 502 0 SQLBindCol:-
hst=14254F0,icl=8,fct=99,rgv=E10384,cbvm=16,pcv=147
48100
(0) e: 502 0 SQLBindCol:-
hst=14254F0,icl=9,fct=99,rgv=E10E34,cbvm=16,pcv=147
50836
(0) e: 502 0 SQLBindCol:-
hst=14254F0,icl=10,fct=99,rgv=E11604,cbvm=4,pcv=147
51636
(0) e: 502 0 SQLBindCol:-
hst=14254F0,icl=11,fct=99,rgv=E11924,cbvm=4,pcv=147
52436
(0) e: 359 0 SQLSetStmtOption:- hst=14254F0, fop=0 , vprm=0
(0) e: 365 0 SQLExecute:- hst=14254F0
(0) e: 396 0 SQLSetStmtOption:- hst=14254F0, fop=9 , vprm=100
(0) e: 400 0 SQLExtendedFetch:- hstm=14254F0, fft=1, irow=0,
pcrw=DF7AC8, rgr
s=DFE90C
(0) hoautil.c (561): ; Requested chunk length: 65536
(0) SELECT "attachment" FROM "T_FLY_FLYER_REWARD" WHERE "pkid"=3 AND
(0) "empid"=10004036 AND "startdate"={ts '2012-12-28 00:00:00.000'} AND
(0) "enddate"={ts '2012-12-28 00:00:00.000'} AND "recate"='0' AND
"retype"='0' AND
(0) "rereson"='5858' AND "remark"='' AND "lastmodifier"='7' AND
(0) "lastmodifidate"={ts '2012-12-28 10:41:03.070'} AND
(0) "attachmentname"='飞行准备网一期演示沟通会议.doc
(0) '
(0) UPDATE "T_FLY_FLYER_REWARD" SET "attachment" = ? WHERE "pkid"=3 AND
(0) "empid"=10004036 AND "startdate"={ts '2012-12-28 00:00:00.000'} AND
(0) "enddate"={ts '2012-12-28 00:00:00.000'} AND "recate"='0' AND
"retype"='0' AND
(0) "rereson"='5858' AND "remark"='' AND "lastmodifier"='7' AND
(0) "lastmodifidate"={ts '2012-12-28 10:41:03.070'} AND
(0) "attachmentname"='飞行准备网一期演示沟通会议.doc
(0) '
(0) i: 924 0 SQLAllocConnect:- henv=1424718,phd=12E834
(0) i: 931 0 SQLSetConnectOption:- hdbc=1424C30, fop=1218 , vprm=1
(0) i: 938 0 SQLSetConnectOption:- hdbc=1424C30, fop=103 , vprm=0
(0) i: 945 1 SQLDriverConnect:- hdbc=1424C30, hwnd=0, scsi=12E8C4,
ccsi=-3, s
cso=12E9C4, ccsom=1020, pcso=12E83A, fdc=0,
(0) i: 955 0 SQLGetInfo:- hdbc=1424C30, fit=18 ,rif=12e840, civm=130,
piv=12E
83C
(0) i: 960 0 SQLSetConnectOption:- hdbc=1424C30, fop=1217 , vprm=1
(0) Created new MSSQLODBC connection (21122096)
(0) e:1881 0 SQLAllocStmt:- hdbc=1424C30,pst=E1C678
(0) e:1890 0 SQLSetStmtOption:- hst=14270A0, fop=0 , vprm=0
(0) e:1896 0 SQLExecDirect:- hst=14270A0, css=-3
(0) 6sss = SELECT "attachment" FROM "T_FLY_FLYER_REWARD"
WHERE "pk
id"=3 AND "empid"=10004036 AND "startdate"={ts '2012-12
-28 00:
                00:00.000'} AND "enddate"={ts '2012-12-28 00:00:00.000'}
AND "
recate"='0' AND "retype"='0' AND "rereson"='5858' AND
"remark"
='' AND "lastmodifier"='7' AND "lastmodifidate"={ts
'2012-12-2
                8 10:41:03.070'} AND "attachmentname"='飞行准备网一期演
示沟通? 嵋?doc '
(0) e:1905 0 SQLDescribeCol:- hst=14270A0,icol=1,scn=
(null),cnm=0,pcn=0,pst=1
2EDDC,pcd=0,psc=0,pnul=0
(0) e:1914100 SQLFetch:- hst=14270A0
(0) i: 591100 SQLError:-
hnv=1424718,hdbc=21122096,hst=14270a0,sss=00000,pne=
12EB20,cemm=1239988,pem=1FF
(0) =14247sem =
(0) DB_MSSQLODBC_ENGINE (1916): ; (SQL State: 00000; SQL Code: 16)
(0) DRV_BlobRead: (SQL State: 00000; SQL Code: 16)
(0)
(0) nvRETURN (F:\Work\Connect_4_6_3\src\drv\DRV_BLOB.C 249): -1
(0) hoaftch (21): ; hoaftch Exited with retcode = 28500, hoadabrc = 1.
(0) hoaclse (22): ; hoaclse Entered. id = 1.
(0) e: 442 0 SQLFreeStmt:- hst=14254F0, fop=1
(0) hoaclse (22): ; hoaclse Exited with retcode = 0.
(0) hoadafr (23): ; hoadafr Entered. id = 1.
(0) hoadafr (23): ; hoadafr Exited with retcode = 0.
(0) hoaroll (12): ; hoaroll Entered. tflag = 1.
(0) e:1353 0 SQLTransact:- henv=0,hdbc=14247C0, ftp=1
(0) e:1359 0 SQLSetConnectOption:- hdbc=14247C0, fop=102 , vprm=1
(0) hoaroll (12): ; hoaroll Exited with retcode = 0.
(0) hoabegn (9): ; hoabegn Entered. formatID = 306206, hoagttln = 55,
hoagttid =
(0) ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM.f04eafd4.17.20.497, hoagtbln =
10,
(0) hoagtbid = , tflag = 0, initial = 0
(0) e:1005 0 SQLGetConnectOption:- hdbc=14247C0, fop=102 , pvprm=12EA80
(0) e:1007 0 SQLSetConnectOption:- hdbc=14247C0, fop=108 , vprm=1
(0) e:1012 0 SQLSetConnectOption:- hdbc=14247C0, fop=102 , vprm=0
(0) hoabegn (9): ; hoabegn Exited with retcode = 0.
(0) hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
(0) nvOUT (F:\Work\Connect_4_6_3\src\qp\QP_SQTXT.C 55): SELECT
A1."attachment"
(0) FROM "T_FLY_FLYER_REWARD" A1 WHERE A1."empid"=10000535
(0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10000535)
(0)
(0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12E7C0
(0) r: 113 0 SQLPrepare:- hst=14254F0, css=14606780
(0) Ssss = SELECT "A1"."attachmentname" AS c001,
"A1"."lastmodifid
ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
AS c0
04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
"A1"."recat
e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
c009,
"A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
"T_FLY_FLYER_RE
WARD" "A1" WHERE ("A1"."empid" = 10000535)
(0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12E6DE,p
st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12E6DE,
pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E4
(0) r: 886 0 SQLDescribeCol:-
hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12E6DE,
pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
(0) r: 903 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E0
(0) r: 909 0 SQLColAttributes:-
hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
=0,pfd=12E6E4
(0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
(0) <<<<<<<<<<<<<<<<<<< Execution Strategy Begin
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(0) Original SQL:
(0) SELECT A1 . "attachment" FROM "T_FLY_FLYER_REWARD" A1 WHERE A1 .
"empid" = 10000535
(0)

Similar Messages

  • How to deal with validation errors from DAO layer.

    I have been pondering on how to deal with validation errors from DAO layer.
    Lets say you have a DAO that can save a car object. A car has a year, make, model, vin and so on. During the save operation of this DAO, it validates the car attributes to see if they pass some business rules. If it does not it throws some validation exception that contains all the validation errors. These validation errors know nothing about jsf or my components it just knows what attributes on the object are invalid and why.
    If I just want to show those errors at the top of the page that would be no problem I could just create some FacesMessage objects and add them to the FacesContext messages. But if the DAO layer is telling me that the make attribute is invalid it would be nice to map it to the make field on the screen. I am wondering if any of you have tackled this problem or have some ideas on how to tackle it?
    Brian

    Let it throw an exception with a self explaining message, then catch it and embed that message in a FacesMessage.
    Or let it throw more specific exception types (InvalidCarMakeException extends CarDAOException and so on) and let JSF handle it with own FacesMessage message.

  • How to deal with images when detecting/resizing screen?

    Hi there,
    I am trying to learn how to detect screen resolution and
    resize a flash movie to those dimensions. The one thing I'm
    wondering first is, how to deal with images in the movie.
    Do I need a variety of different movie sizes that I serve up
    depending on the resolution, or is there some way of linking to
    higher rez image that can be scaled down to fit the screen?
    Thanks!

    as far as I know this has always been a bit of an issue when
    using
    images inside a scaled movie. If you display a high res image
    inside a
    scaled down movie, flash can't "reoptimize" it so the image
    looks
    jagged. Of course the other way around is even worse..
    Serving images based on the screen res could be possible if
    you detect
    it using javascript but could be a night mare to maintain and
    test it...
    I guess the questions I would ask myselkf are:
    1. what is my audience? What resolution the majority of them
    will have?
    2. Is there anyway I can keep the image size fixed, and scale
    to fit he
    rest of the design?
    3. How much time do I have to implement the customized
    version?
    It really depends on your project..but to answer to your
    quuestion yes
    you can detect.
    http://www.pageresource.com/jscript/jscreen.htm
    and your flash will have to interpret and load images from
    different
    directories based on the var passed

  • Import IMAGE type from SQL Server to BLOB in Oracle

    Hello,
    Is there a way to import a IMAGE type from SQL Server to BLOB type in Oracle from one table to another through a database link?
    I'm waiting for an answer as soon as possible.
    Best regards,
    Florin
    Edited by: Florin Manole on Sep 10, 2008 11:53 AM

    Have you already configured a Heterogeneous Services and Generic Connectivity to create a database link from Oracle to SQL Server? I haven't tried copying IMAGE data from SQL Server via Heterogeous Services myself, but from the [data type map|http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/apb.htm#sthref509] in the documentation, I would expect that it would work so long as the SQL Server ODBC driver maps the IMAGE data type to SQL_LONGVARBINARY
    Justin

  • How to deal with images stored in oracle

    hi,
    can anyone help me to solve this issue please:
    in fact i am developping a swing based standalone application based on a TCP/IP client-server connection, so the point is to display on my frame for each student his information and also his personal picture
    first step : storing the personal picture into the oracle database from a specefic frame that allows to specify each NEW student's profile and his photo.
    step 2: as needed, a specefic frame allows to retrieve all the information related to a student and his photo to ( in a jlabel or other swing componenet)
    how to deal with this storing and then the retriving from the oracle DB
    any help please!

    If I understand well your problem, you need your client java application to store and retrive information from an oracle DB.
    This can be done via JDBC.
    Here's the tutorial:
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
    Look at
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html#JDBC2018
    for storing and retriving binary data (like java serialized objects (Images for example))

  • How can I export image column from SQL Server 2000

    Hi everybody,could someone tell me how can I export an entire column( pictures type) to a folder on disk?I've tried the textcopy.exe under the SQL installation's binn folder,it can only export one picture a time,I'm trying to find an automated way to export
    the whole colum's images to a folder,I'm using SQL Server 2000.

    Vishal,thanks for the replay,I've tried the BCP method but it seems does not work on my Sql Server 2000,also the SSIS package method is demonstrated with Sql Server 2008 R2 and my machine does not have the visual application to try it.In the BCP method,I
    got prompt  indicating me that I wrote something wrong in the grammer,and I'm pretty sure that maybe I made something wrong in the below part,the grammer makes me confused
    INSERT
    INTO @sqlStatements
    SELECT 'BCP "SELECT Photograph_Data FROM [ALBSCH_Trial].[dbo].[Photograph] WHERE Photograph_ID = '''
    + CAST(Photograph_ID AS VARCHAR(500)) + '''" queryout ' + @OutputFilePath
    + CAST(Photograph_ID AS VARCHAR(500)) + '.jpg -S localhost\SQLEXPRESS2008 -T -f C:\SQLTest\Images.fmt'
    FROM dbo.Photograph

  • How to export an image column from SQL server to an excel

    Hi team,
    Would like to know how can i get an Image column storeed in SQL Server database to get copied in Excel (Hard Drive).
    Requirement : Need to get Username, User email address and User photo in to an excel sheet from SQL server database.
    Fix: I can get Username and Useremail adress however could not find a way to export /Copy user Image.
    Please suggest
    Thanks,
    venkatesh

    This is an Oracle forum. Your question relates to SQL Server and Excel, neither of which are Oracle related.

  • How export datas with special characters from SQL Developer?

    Hi.
    I'm doing an import of datas of a table, but this table have special characteres in specific accents (á,é,í,ó,ú), my source table have for example "QRCN Querétaro, Candiles" but when I done an export from opcion Tool --> Export DLL (and Datas) from SQL Developer generate the next script
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    How can I do for export my datas and generate the script correct?
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Querétaro, Candiles');
    thanks.

    Hi sybrand_b,
    1. In my SQL Developer I select Tool-->Export DDL (and Data).
    2. I Select name file, connection (this is a remote DB), objects to export in this case I select 'Tables and data' and table name to export
    3. Run the procedure and generate the script following:
    -- File created - jueves-julio-01-2010
    -- DDL for Table TABLEXXX
    CREATE TABLE "BOLINF"."TABLEXXX"
    (     "CADENA" VARCHAR2(50 BYTE),
         "NUMERO_FARMACIA" VARCHAR2(50 BYTE),
         "SUCURSAL_REFERENCIA" VARCHAR2(200 BYTE)
    -- DATA FOR TABLE TABLEXXX
    -- FILTER = none used
    REM INSERTING into TABLEXXX
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20281','QRCG Quer?ro, Corregidora');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20282','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20283','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20284','SAUN San Lu?P, Universidad');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20285','SAEV San Lu?P, Eje Vial');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20286','SALB San Lu?P, Los Bravo');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20287','SAAL San Lu?P, Alvaro Obreg?');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20288','SACA San Lu? Callej?n de Cod');
    4. But my source table have the next datas.
    Select * from TABLEXXX.
    CADENA     NUMERO_FARMACIA     SUCURSAL_REFERENCIA
    C002     20280     QRCN Querétaro, Candiles
    C002     20281     QRCG Querétaro, Corregidora
    C002     20282     QRFU
    C002     20283     QRFU
    C002     20284     SAUN San Luís P, Universidad
    C002     20285     SAEV San Luís P, Eje Vial
    C002     20286     SALB San Luís P, Los Bravo
    C002     20287     SAAL San Luís P, Alvaro Obregó
    C002     20288     SACA San Luís, Callejón de Cod
    5. I have done a query to table nls_database_parameters.
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     UTF8
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_RDBMS_VERSION     10.2.0.4.0
    6. I have revised in Regedit-->HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->ORACLE HOME and value for NLS_LANG=AMERICAN_AMERICA.UTF8
    where should I change for export my datas correct?
    or exist any form for export my datas?
    thanks a lot.
    regards

  • HT204266 How to deal with fraudulent transaction from iTunes?

    Just got posted on my credit card a transaction that I did not authorize.
    Checked my purchase history and there is nothing even remotely recent on my account.
    The phone mentioned on the credit card site is indeed apple but they direct me to apple.com/support/cc.
    However, there is nothing helpful there.
    What is the best and most expedient way to deal with it?
    thanks a lot.

    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • How to deal with BLDB type with jstl

    table user(
    user_password TINYBLOB,
    login.jsp:
    <sql:query var="users" dataSoure="jdbc/datasource">
    select user_password from user
    </sql:query>
    <c:forEach var="user" items="users">
    user_password ${user.user_password}
    </c:forEach>
    When user_password is 4d28dc5a25046655127700d9a8563425
    this result is:"user_password [B@300ca7"
    encrytedpassword = 4d28dc5a25046655127700d9a8563425
    <c:when test="${user.user_password==encrytedpassword}">
    that's not equal
    Please help me How can to do with this
    Thank you very much!

    Saved the password as BLOB type is for the security of login system, the password saved in MySQL is not the true password but use algorithm "md5" to encrypt "user_id-password" e.g. "5-java" "java" is the password you need to input and "5" is the user_id got from the database then got the encrypted password which will saved in the database as user_password, the password which you input will never got from anybody(admin include) except the user.

  • How to deal with xsd:dateTime from webservice in ADF? (Frank can you help?)

    I have a webservice that returns a date in the yyyy-MM-dd'T'HH:mm:ss.SSSZ format (as far as i know the default Calendar type format) specified by an xsd:dateTime. When i generate a webservice datacontrol on the service i get an entry like <Attribute Name="testDate" IsUpdateable="0" Type="java.util.Date" /> in the datacontrol xml file generated for the service (should that not be a java.util.Calendar type?). When i try to output the value on a jsf page it results in the following error:
    oracle.jbo.domain.DataCreationException: JBO-25009: Can not create object of type java.util.Date with value 1994-02-01T00:00:00.000+01:00
    As far as i understand adf tries to create a java.util.Date object from the webservice output 'string' which fails. The webservice is a plsql webservice generated with jdeveloper. If i change the type in the datacontrol xml file from java.util.Date to java.lang.String it prints out the entire date string but i would like to keep it a date type to be able to format the output to the dd-MM-yyyy pattern.
    Any help or suggestions.....?
    Kind Regards,
    Andre Jochems
    Repost
    Repost

    Andre,
    sorry, for not replying earlier - missed this post obviously. I don't know whether or not the behavior you see is correct or a bug - need to investigate this first (or find somebody to invest).
    However, as a work around for now you can:
    Option 1: bind the UI component to a managed bean that then accesses the binding layer to access the Web Service Data Control. This way you can work with Strings and just create a java.util.Date object for the component using the SimpleDate formatter
    Option 2: Use a Web Service proxy and a JavaBean DataControl to access the proxy. This allows pre-processing of the Web Service response, e.g. handling the Date
    Note that this is just for possible work around until I find the time to look at this. However, if this is a blocking issue for a production application then I suggest to contact customer support for immediate help
    Frank

  • How to deal with  this type of flash warring

    I develop a ocx for playing flash on web .Then I also place a
    swf that has encrypted on web,before it can be played it must
    retrive the need information form ocx for decoding.But when I play
    the swf on web,it will warring that Adobe Flash Player has disable
    this type of unsafe operation.So I can't play the swf normaly , I
    wonder if I should apply a digital signature from Adobe for my ocx
    if I intend to use my ocx on web.

    A digital signature will not solve your problem. A networked
    SWF -cannot- access a local file system SWF. So the security
    sandbox error you're getting is legitimate.
    Please read the Flash Player security articles on the Adobe
    Developer Connection:
    http://www.adobe.com/devnet/flashplayer/

  • How to deal with  this type of flash warning

    I develop a ocx for playing flash on web .Then I also place a
    swf that has encrypted on web,before it can be played it must
    retrive the need information form ocx for decoding.But when I play
    the swf on web,it will warning that Adobe Flash Player has disable
    this type of unsafe operation.So I can't play the swf normaly , I
    wonder if I should apply a digital signature from Adobe for my ocx
    if I intend to use my ocx on web.

    A digital signature will not solve your problem. A networked
    SWF -cannot- access a local file system SWF. So the security
    sandbox error you're getting is legitimate.
    Please read the Flash Player security articles on the Adobe
    Developer Connection:
    http://www.adobe.com/devnet/flashplayer/

  • How to deal with multiple language SQL script?

    Hi All,
    We now want to create a SQL script that contains multiple languages(English, Chinese, Japanese), this script need to be run at there different database installed on different OS, for example, Oracle9i on Windows 2000 English Edition/Chinese Edition/Japanese Edition.
    If I save the file as ANSI format, this file will only be recognized at local OS(e.g. the Chinese and Japanese character will not be normally displayed on other OS, if I run the script, the CH/JP characters will not be stored normally in DB).
    If I save the file as Unicode format, this file can be recognized by all three OS, but Oracle SQL Plus will not recognize it, thus we can't run the script.
    Who can tell me how to deal with this issue? Is it possible to save only one script that can run on different language OS?
    Thanks,
    Spark

    Hi,
    The ISQLplus supports multiple languages, but there will be following problems for my case:
    1.ISQLplus don't support Unicode format script too, so I must save the file as ANSI format.
    2.To display the characters normally depends on the database server's platform. I create a script contain three languages with ANSI format in Chinese OS, but if I want to load this script to database server installed on English OS via ISQLplus, the Chinese characters will not be displayed normally too.
    PS:
    So, I think this is not only related with Oracle but also the Windows OS, it is hard to create one file with ANSI format that can be displayed normally in different platforms.
    Thank you all the same,
    Spark

  • How to deal with Cash Deposited/Withdrawn from Bank

    Gurus,
    How to deal with Cash Deposited/Withdrawn from Bank for office use.
    <b>Here is the senario:</b>
    When Cash is deposited in Bank the entry is
    Bank Main A/c Dr
    To Cash A/c
    and when Withdrawn from Bank the entry was
    Cash A/c Dr
    To Bank Main Account
    Now my question is, How we will deal with these transactions while creating Bank Reconcilation Statement. As per my knowledge.
    Bank Main Account Balance = Sum of all Bank Clearing Accounts.
    If the difference occurs with cheques we deposit it or make note of issue while BRS, which effect the Clearing Accounts, But, How about Cash Deposit and Cash Withdrawn, coz these won't effect any of the Clearing Accounts.
    How do deal with this.
    please advice.
    Satish

    Hi Satish,
    Through FBCJ transaction you can do the cash receipt / cash payment to Bank (Bank clearing Account). By using the Business transaction "Receipt from Bank" and "Payment to Bank".
    Hence bank posting will happen in the Bank clearing account. As soon as BRS is done, it will hit the Bank Main account.
    Hope it is clear for you. If my reply is useful than please assign points for the same.
    Thanks & best regards,
    nms

Maybe you are looking for

  • Report to be sent to a list of recipients in an e:mail (part of batch job)

    Hi, I need to generate a report using ALV functionality. Currently my report requirement is to sent to a list of recipients in an e:mail (part of the batch job set-up) and the recipients just download the report in a spreadsheet format.  Could you pl

  • Can I have more than one user account on my Ipod touch?

    I have an account on my IPod touch and would like to add an account for my son using his own laptop and itunes account is that possible?

  • Error while selecting members on spreadsheet

    Hello All- I have a planning application with three databases database1 , database2, database3. The application is multi curreency application. My users when they try to get connected to any of the database in morning and try the option for member se

  • HP Officejet 6500 E709n

    I'm trying to install Officejet 6500 e709n.  My OS is Vista. I keep getting: Issues Stopping installation: print spooler.  This service is stopped and needs to be running for installation to continue.  Then below that: Service: Spooler, Manufacturer:

  • 3 Levels Search help

    I am using jdev 11g(version 11.1.2.0.0). I created a schedule object for a table with which has 3 level searching.first level is region, second level is country and third level is port. the query for region is ... select distinct pol_region from vw_s