1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

一番簡単なplsql

Last updated at Posted at 2019-07-01

DECLARE
    tantou_count NUMBER(7);
BEGIN
    select count(*) into tantou_count from "K受担当D";
    DBMS_OUTPUT.PUT_LINE(tantou_count);
EXCEPTION
    WHEN too_many_rows THEN null;
END;
/

日本語のテーブル名は意外とわかりやすいけど、文字化けで苦しむので、
やっぱりなくしたほうがいい。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?