当前位置:网站首页>Oracle custom data type question
Oracle custom data type question
2022-06-13 10:03:00 【CSDN Q & A】
Problem description
I learned it today Oracle Custom data types in TYPE, After inserting data , The field value is displayed as user name .TYPE name ( value 1, value 2), Instead of ( value 1, value 2)
-- establish TYPECREATE OR REPLACE TYPE type_name AS OBJECT ( FirstName varchar(100), LastName varchar(100),)-- Create table CREATE TABLE STUDENT( ID NUMBER(10), NAME type_name, SEX VARCHAR(10))-- insert data INSERT INTO STUDENT(ID,NAME,SEX) VALUES(11,type_name(' Zhang ',' 3、 ... and '),' male ');INSERT INTO STUDENT(ID,NAME,SEX) VALUES(12,type_name(' Li ',' Four '),' male ');doubt
I thought “NAME” It will show (' Zhang ',' 3、 ... and '), The result now shows "WMS_LP_ZHONGCHE"."TYPE_NAME"(' Zhang ',' 3、 ... and '), Is this normal ?

And I use this field to fuzzy query , Has been an error , I tried for a long time but failed

Precise query can

边栏推荐
- Smart210 uses SD card to burn uboot
- Summary of random number learning
- 格林纳达代表团团长孙宇晨出席WTO MC12 强调发展数字经济
- 冗余码题型--后面加0的区别
- List list
- Tree and binary tree: operation and storage structure of tree
- 一篇文章读懂:Spark运行模式
- (topological sorting +bfs) acwing 848 Topological sequence of digraph
- MySQL中redo日志和undo日志简述
- ThingsBoard教程(二一):使用消息类型和数据处理节点对数据处理后保存
猜你喜欢
![[51nod p2673] shortest path [heap optimization Dijk]](/img/08/5e68466fe8ff8458f736bc50d897da.jpg)
[51nod p2673] shortest path [heap optimization Dijk]

二叉树简介

Protocol UART of schematic diagram

Tree and binary tree: operation and storage structure of tree
![[pytorch environment installation]](/img/00/78f6942ed3ff721675abb91504fb5c.png)
[pytorch environment installation]

Node-RED系列(二五):集成高德地图并实现3d地图和轨迹回放

Smart210 uses SD card to burn uboot
![[51nod 2493] sum of binary distances [bit operation]](/img/e9/8a8393f41cac7c323712c34f4d3e01.jpg)
[51nod 2493] sum of binary distances [bit operation]

How to calculate ASCII code value and how to calculate arccos value

Oracle自定义数据类型Type疑问
随机推荐
基于SSM实现水果商城批发平台
关于#数据库#的问题:反复检查过了查不出来
Smart210 uses SD card to burn uboot
ThingsBoard教程(二一):使用消息类型和数据处理节点对数据处理后保存
Sequential representation of linear tables
matlab轮毂电机分析模糊pid控制垂向振动分析
Protocol UART of schematic diagram
Talk about the bottom playing method of C # method overloading
MySQL利用E-R模型的数据库概念设计
【工具链系列】 Notepad++
Consolas-with-Yahei
Classes and objects -- Inheritance
二叉树简介
June training (day 13) - two way linked list
VDD, dvdd, avdd, VCC, afvdd, dovdd, iovdd
acwing 788. Number of pairs in reverse order
虚拟机内存结构简述
Tree and binary tree: basic operation and implementation of binary tree
C 11 new feature: static abstract members in interfaces
[Luogu p1403] Research on divisor