بتاريخ: 6 أبريل 20206 سنة comment_300329 السلام عليكم .... احتاج ادخال document للـDB ولكن بأستخدام جملة insert sql وليس Attorator تقديم بلاغ
بتاريخ: 10 أبريل 20206 سنة comment_300335 :insert a picture into BLOB column in Oracle table SQL> conn / as sysdba SQL> create directory image_dir as '/home/oracle/Desktop/'; Directory created. SQL> grant read, write on directory image_dir to jay; Grant succeeded. SQL> conn jay Enter password: Connected. SQL> CREATE TABLE test(id number, image blob); Table created. [oracle@myserver Desktop]$ ls -l | grep abc -rw-r--r-- 1 oracle oinstall 269748 Apr 16 01:23 abc.png SQL> INSERT INTO test VALUES(1,bfilename('IMAGE_DIR','abc.png')); 1 row created. تم تعديل 10 أبريل 20206 سنة بواسطة haythamkhl1 تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.