|< 1 2 >| | 19 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
my $affected_rows = $dbh->do(
q{
UPDATE DGKTO_BASIS
SET SVT_BEITRAGSKONTONUMMER = ?
WHERE VERSICHERUNGSTRAEGERCODE = ? and DIENSTGEBERKONTONUMMER = ?
},
undef,
$upd,
$key1,
$key2
) or die $dbh->errstr();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
main::(mist.pl:16): my $sth = $dbh->prepare(q{
main::(mist.pl:17): UPDATE DGKTO_BASIS
main::(mist.pl:18): SET SVT_BEITRAGSKONTONUMMER = ?
main::(mist.pl:19): WHERE VERSICHERUNGSTRAEGERCODE = ? and DIENSTGEBERKO
NTONUMMER = ?})
main::(mist.pl:20): || die "Can't prepare statement: $DBI::errstr";
DB<1>
>> prepare DISPATCH (DBI::db=HASH(0x2352d0c) rc1/1 @2 g0 ima201 pid#4048
) at mist.pl line 16
-> prepare for DBD::Oracle::db (DBI::db=HASH(0x2352d0c)~0x235bdb8 '
UPDATE DGKTO_BASIS
SET SVT_BEITRAGSKONTONUMMER = ?
WHERE VERSICHERUNGSTRAEGERCODE = ? and DIENSTGEBERKONTONUMMER = ?') thr#0183
F32C
New DBI::st (for DBD::Oracle::st, parent=DBI::db=HASH(0x235bdb8), id=)
dbih_setup_handle(DBI::st=HASH(0x216c85c)=>DBI::st=HASH(0x235bd1c), DBD::Ora
cle::st, 216c934, Null!)
dbih_make_com(DBI::db=HASH(0x235bdb8), DBD::Oracle::st, 240) thr#0183F32C
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), Err, DBI::db=HASH(0x235bdb8)) SCA
LAR(0x1a5e2c8) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), State, DBI::db=HASH(0x235bdb8)) S
CALAR(0x1a5e340) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), Errstr, DBI::db=HASH(0x235bdb8))
SCALAR(0x1a5e304) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), Debug, DBI::db=HASH(0x235bdb8)) 0
(already defined)
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), FetchHashKeyName, DBI::db=HASH(0x
235bdb8)) 'NAME' (already defined)
dbih_setup_attrib(DBI::st=HASH(0x235bd1c), HandleError, DBI::db=HASH(0x235bd
b8)) undef (not defined)
dbd_preparse scanned 3 distinct placeholders
dbd_st_prepare'd sql f5
dbd_describe skipped for non-select (sql f5, lb 80, csr 0x234d564)
<- prepare= DBI::st=HASH(0x216c85c) at mist.pl line 16
main::(mist.pl:22): my $upd = "00000000099";
DB<1>
main::(mist.pl:23): my $key1 = "04";
DB<1>
main::(mist.pl:24): my $key2 = "00000015";
DB<1>
main::(mist.pl:26): $sth->execute($upd, $key1, $key2) or die $dbh->errstr;
DB<1>
>> execute DISPATCH (DBI::st=HASH(0x216c85c) rc1/1 @4 g0 ima41 pid#4048)
at mist.pl line 26
-> execute for DBD::Oracle::st (DBI::st=HASH(0x216c85c)~0x235bd1c '000000000
99' '04' '00000015') thr#0183F32C
bind :p1 <== '00000000099' (type 0)
bind :p1 <== '00000000099' (size 11/12/0, ptype 4, otype 1)
bind :p1 <== '00000000099' (size 11/11, otype 1, indp 0)
bind :p1 done
bind :p2 <== '04' (type 0)
bind :p2 <== '04' (size 2/3/0, ptype 4, otype 1)
bind :p2 <== '04' (size 2/2, otype 1, indp 0)
bind :p2 done
bind :p3 <== '00000015' (type 0)
bind :p3 <== '00000015' (size 8/9/0, ptype 4, otype 1)
bind :p3 <== '00000015' (size 8/8, otype 1, indp 0)
bind :p3 done
dbd_st_execute (for sql f5 after oci f62, out0)...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
use strict;
use DBI;
use DBD::Oracle;
my $db_user="xx";
my $db_pass="xxxxxxxx";
my $db_host="xxxxxx";
my $dbh = DBI->connect( "dbi:Oracle:$db_host", $db_user, $db_pass,
) || die "Database connection not made: $DBI::errstr";
# $dbh->{RaiseError} = 1;
# $dbh->{PrintError} = 1;
# $dbh->{AutoCommit} = 0;
my $sth = $dbh->prepare(q{
UPDATE DGKTO_BASIS
SET SVT_BEITRAGSKONTONUMMER = ?
WHERE VERSICHERUNGSTRAEGERCODE = ? and DIENSTGEBERKONTONUMMER = ?})
|| die "Can't prepare statement: $DBI::errstr";
my $upd = "00000000099";
my $key1 = "04";
my $key2 = "00000015";
$sth->execute($upd, $key1, $key2) or die $dbh->errstr;
print "ok";
1
2
3
4
5
6
7
8
9
10
11
12
13
main::(mist.pl:24): my $key2 = "00000015";
DB<1>
main::(mist.pl:26): $sth->execute($upd, $key1, $key2) or die $dbh->errstr;
DB<1>
-> execute for DBD::Oracle::st (DBI::st=HASH(0x216c384)~0x23849f8 '000000000
99' '04' '00000015') thr#0183F32C
bind :p1 <== '00000000099' (type 0)
bind :p1 <== '00000000099' (size 11/12/0, ptype 4, otype 1)
bind :p2 <== '04' (type 0)
bind :p2 <== '04' (size 2/3/0, ptype 4, otype 1)
bind :p3 <== '00000015' (type 0)
bind :p3 <== '00000015' (size 8/9/0, ptype 4, otype 1)
dbd_st_execute (for sql f5 after oci f62, out0)...
1
2
3
4
5
6
7
8
9
10
11
my $affected_rows = $dbh->do(
q{
UPDATE DGKTO_BASIS
SET SVT_BEITRAGSKONTONUMMER = ?
WHERE VERSICHERUNGSTRAEGERCODE = ? and DIENSTGEBERKONTONUMMER = ?
},
undef,
$upd,
$key1,
$key2
) or die $dbh->errstr();
|< 1 2 >| | 19 Einträge, 2 Seiten |