Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GiuseppeChillemi/043c9c262b0d92e109df846b7db083f9 to your computer and use it in GitHub Desktop.
Save GiuseppeChillemi/043c9c262b0d92e109df846b7db083f9 to your computer and use it in GitHub Desktop.
--== Red 0.6.4 ==--
Type HELP for starting information.
>> do %pp.r
actor/open: connection
init-odbc
OPEN-ENVIRONMENT [
SQLAllocHandle 0
henv/value = 2158376
SQLSetEnvAttr 0
]
init-odbc: 0
OPEN-CONNECTION [
SQLAllocHandle 0
hcon/value = 62414944
SQLDriverConnect 1
DIAGNOSE-ERROR [
allocate state, 12 bytes @ 03B86578 ok.
allocate msg-buf, 4096 bytes @ 03B8A4A8 ok.
SQLGetDiagRec 0
01000
--------------------------------------------------------------------------------
---------------------------------------------------
03B8A4A8: 5b00 4d00 6900 6300 7200 6f00 7300 6f00 6600 7400 5d00 5b00 4f00 4
400 4200 4300 [.M.i.c.r.o.s.o.f.t.].[.O.D.B.C.
03B8A4C8: 2000 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7200 2000 4400 7
200 6900 7600 .S.Q.L. .S.e.r.v.e.r. .D.r.i.v.
03B8A4E8: 6500 7200 5d00 5b00 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7
200 5d00 4900 e.r.].[.S.Q.L. .S.e.r.v.e.r.].I.
03B8A508: 6c00 2000 6300 6f00 6e00 7400 6500 7300 7400 6f00 2000 6400 6900 2
000 6400 6100 l. .c.o.n.t.e.s.t.o. .d.i. .d.a.
03B8A528: 7400 6100 6200 6100 7300 6500 2000 e800 2000 7300 7400 6100 7400 6
f00 2000 7300 t.a.b.a.s.e. .è. .s.t.a.t.o. .s.
03B8A548: 6f00 7300 7400 6900 7400 7500 6900 7400 6f00 2000 6300 6f00 6e00 2
000 2700 4100 o.s.t.i.t.u.i.t.o. .c.o.n. .'.A.
03B8A568: 4400 4200 5f00 5200 4100 5600 4900 4f00 4c00 5f00 4400 4f00 5200 4
f00 2700 2e00 D.B._.R.A.V.I.O.L._.D.O.R.O.'...
--------------------------------------------------------------------------------
---------------------------------------------------
5701 [Microsoft][ODBC SQL Server Driver][SQL Server]Il contesto di database è s
tato sostituito con 'ADB_MYDATABASE'.
SQLGetDiagRec 0
01000
--------------------------------------------------------------------------------
---------------------------------------------------
03B8A4A8: 5b00 4d00 6900 6300 7200 6f00 7300 6f00 6600 7400 5d00 5b00 4f00 4
400 4200 4300 [.M.i.c.r.o.s.o.f.t.].[.O.D.B.C.
03B8A4C8: 2000 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7200 2000 4400 7
200 6900 7600 .S.Q.L. .S.e.r.v.e.r. .D.r.i.v.
03B8A4E8: 6500 7200 5d00 5b00 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7
200 5d00 4c00 e.r.].[.S.Q.L. .S.e.r.v.e.r.].L.
03B8A508: 2700 6900 6d00 7000 6f00 7300 7400 6100 7a00 6900 6f00 6e00 6500 2
000 6400 6500 '.i.m.p.o.s.t.a.z.i.o.n.e. .d.e.
03B8A528: 6c00 6c00 6100 2000 6c00 6900 6e00 6700 7500 6100 2000 e800 2000 7
300 7400 6100 l.l.a. .l.i.n.g.u.a. .è. .s.t.a.
03B8A548: 7400 6100 2000 7300 6f00 7300 7400 6900 7400 7500 6900 7400 6100 2
000 6300 6f00 t.a. .s.o.s.t.i.t.u.i.t.a. .c.o.
03B8A568: 6e00 2000 4900 7400 6100 6c00 6900 6100 6e00 6f00 2e00
n. .I.t.a.l.i.a.n.o...
--------------------------------------------------------------------------------
---------------------------------------------------
5703 [Microsoft][ODBC SQL Server Driver][SQL Server]L'impostazione della lingua
è stata sostituita con Italiano.
SQLGetDiagRec 0
01S00
--------------------------------------------------------------------------------
---------------------------------------------------
03B8A4A8: 5b00 4d00 6900 6300 7200 6f00 7300 6f00 6600 7400 5d00 5b00 4f00 4
400 4200 4300 [.M.i.c.r.o.s.o.f.t.].[.O.D.B.C.
03B8A4C8: 2000 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7200 2000 4400 7
200 6900 7600 .S.Q.L. .S.e.r.v.e.r. .D.r.i.v.
03B8A4E8: 6500 7200 5d00 4100 7400 7400 7200 6900 6200 7500 7400 6f00 2000 6
400 6900 2000 e.r.].A.t.t.r.i.b.u.t.o. .d.i. .
03B8A508: 7300 7400 7200 6900 6e00 6700 6100 2000 6400 6900 2000 6300 6f00 6
e00 6e00 6500 s.t.r.i.n.g.a. .d.i. .c.o.n.n.e.
03B8A528: 7300 7300 6900 6f00 6e00 6500 2000 6e00 6f00 6e00 2000 7600 6100 6
c00 6900 6400 s.s.i.o.n.e. .n.o.n. .v.a.l.i.d.
03B8A548: 6f00 2e00
o...
--------------------------------------------------------------------------------
---------------------------------------------------
0 [Microsoft][ODBC SQL Server Driver]Attributo di stringa di connessione non va
lido.
SQLGetDiagRec 100
free state @ 03B86578 ok.
free msg-buf @ 03B8A4A8 ok.
]
]
actor/open: statement
OPEN-STATEMENT [
allocate fetched, 4 bytes @ 03B86578 ok.
SQLAllocHandle 0
hstm/value = 62416264
]
INSERT actor
OPEN? actor
FREE-PARAMETERS [
]
FREE-COLUMNS [
]
FREE-STATEMENT [
SQLFreeStmt 0
SQLFreeStmt 0
SQLFreeStmt 0
]
PREPARE-STATEMENT [
SQLPrepare 0
]
EXECUTE-STATEMENT [
SQLExecute 0
]
describe-result
AFFECTED-ROWS [
SQLRowCount 0: 1
]
COUNT-COLUMNS [
SQLNumResultCols 0: 0
]
COPY actor
OPEN? actor
FETCH-COLUMNS [
row-status = 00000000
window = 1024
rowset = 03B5AB8C
cols = 0
sym = 279
orient = 1
offset = 0
SQLFetchScroll 65535
DIAGNOSE-ERROR [
allocate state, 12 bytes @ 03B86558 ok.
allocate msg-buf, 4096 bytes @ 03B89F80 ok.
SQLGetDiagRec 0
24000
--------------------------------------------------------------------------------
---------------------------------------------------
03B89F80: 5b00 4d00 6900 6300 7200 6f00 7300 6f00 6600 7400 5d00 5b00 4f00 4
400 4200 4300 [.M.i.c.r.o.s.o.f.t.].[.O.D.B.C.
03B89FA0: 2000 5300 5100 4c00 2000 5300 6500 7200 7600 6500 7200 2000 4400 7
200 6900 7600 .S.Q.L. .S.e.r.v.e.r. .D.r.i.v.
03B89FC0: 6500 7200 5d00 5300 7400 6100 7400 6f00 2000 6400 6500 6c00 2000 6
300 7500 7200 e.r.].S.t.a.t.o. .d.e.l. .c.u.r.
03B89FE0: 7300 6f00 7200 6500 2000 6e00 6f00 6e00 2000 7600 6100 6c00 6900 6
400 6f00 2e00 s.o.r.e. .n.o.n. .v.a.l.i.d.o...
--------------------------------------------------------------------------------
---------------------------------------------------
0 [Microsoft][ODBC SQL Server Driver]Stato del cursore non valido.
SQLGetDiagRec 100
free state @ 03B86558 ok.
free msg-buf @ 03B89F80 ok.
]
*** Script Error: ODBC error: ["24000" 0 {[Microsoft][ODBC SQL Server Driver]Sta
to del cursore non valido.}]
*** Where: fetch-columns
*** Near : 0 return-columns port/state rows
*** Stack: do-file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment