问题标签 [oracle-sql-data-modeler]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
mysql - MySQL Data model for clinic appointment management system
I have few questions on the data model I am working on.
Its for an Appointment management system with few more details. For each appointment, we need to capture bunch of details.
Approach 1:-
All fields in 1 table.
Fields :-
Approach 2:-
Appointment booking and other details in a separate table
2 Separate Tables
Table 1:- Appointment
Table 2:- Appointment_details
Approach 3:-
Appointment booking, Appointment essentials and other details in a separate table
3 Separate Tables
Table 1:- Appointment
Table 2:- Appointment_essentials
Table 3:- Appointment_details
Approach 4:-
Appointment booking, Appointment essentials, Health_Parts_Prop and Health_Prop_Mapping
4 Separate Tables
Table 1:- Appointment
Table 2:- Appointment_essentials
Table 3:- health_part
Table 3:- appt_health_part_mapping
Use cases:-
- Screen to store appointment with details like doctor, client, appointment_time, notes
- Screen to show appointments in a weekly calendar for the logged in doctor
- Screen for upcoming appointments for the day
- Screen to store all the details after the appointment like all observations
So, during the appointment, there are few essentials which needs to be captured for all the appointments. And there are few details based on appointment like for some appointment, eyes and ears and for some appointment lungs and ears details. Currently, the system is capturing few parts and that might change in the future.
So, Considering all the above facts, I have decided to go with the final approach.
Any thoughts on this?
Also, I may need to show the weight trends and height trends since birth.
Will the current design suffice?
oracle-sqldeveloper - Oracle Data Modeler 表/触发器 DDL 脚本预览
我注意到触发器体内的这一行
V_SYSTIMESTAMP TIMESTAMP(6) 默认 SYSTIMESTAMP;
写在脚本的这个地方,在 DECLARE 和 BEGIN 关键字之间
DECLARE
V_SYSTIMESTAMP TIMESTAMP(6) 默认 SYSTIMESTAMP;
开始
……
结束;
当我显示表格的 DDL 脚本预览时,导致缩进出现一些问题。在该脚本中,我看到触发器部分没有缩进和换行。
如果我声明 V_SYSTIMESTAMP 否则就像
V_SYSTIMESTAMP NUMBER;
我在预览期间没有同样的问题。
仅触发器的 DDL 预览显示正确。
如果我声明数字 var 的示例:
在插入或更新ARC.TABLE 之前创建或替换触发器 ARC.TRG322
为每一行
声明
一个数字;
开始
空;
结尾;
如果我使用时间戳我有这个,鲍比写在一行
在每行插入或更新ARC.TABLE之前创建或替换触发器
ARC.Trg322声明
一个时间戳;
开始空;结尾 ;
谢谢;
modeling - 从旧版本 (2017) 导入 Oracle SQL Developer Data Modeler
我在 2017 年创建了一个模型。我存储了我的文件夹的备份,如 zip。今天我试图从我的文件夹中导入:
不幸的是我无法导入我的旧模型......
这里有一些与 2017 版本相关的链接 https://www.oracle.com/database/technologies/appdev/datamodeler/relnotes-174.html
但是,我也需要下载 17.X 版本的链接。
是否有其他方法可以恢复(导入)我的模型?
etl - 在使用 Enterprise 安装 OBIA 期间,ODI 12c 超级用户密码在 db 中显示为空
我正在安装和配置 OBIA 12c ,但是在我安装 ODI 12C 并将 .sso anf jse.xml 文件放在 bin 文件夹中之后。由于出现错误错误,我无法登录 ODI 工作室。:ODI 用户名/密码不正确。SUPERVISOR 密码似乎无效。同样在 SUPERVISOR 的 db 表中,它在 PASS 列中为空。作为参考,我正在关注链接:https ://docs.oracle.com/applications/biapps103/install/GUID-66B98B0E-11F9-4DAE-9C1F-947BBB805B39.htm#BIAIN24468
任何线索都会有所帮助。谢谢!
oracle - 在 Oracle BIP SQL 查询中为一个用户返回多行的问题
由 PAPF.PERSON_NUMBER 订购
大家好!为每个人返回多行,但无法弄清楚原因。没有遇到任何语法错误,只是我为每个用户返回了多行(这具有使我与此查询相关的任何报告超时的下游效应。)有人对如何解决有任何想法吗?
谢谢!
sql - SQL not using ALIAS column for calculation
Question Statement - From the given trips and users tables for a taxi service, write a query to return the cancellation rate in the first two days in October, rounded to two decimal places, for trips not involving banned riders or drivers.
Question code on Oracle SQL.
My Solution Code is below. However, I get the following error. Can someone pleas help?
SOLUTION CODE:
oracle - 从 oracle 数据库生成逻辑模型
我知道我可以从数据建模器中的逻辑模型生成一个 sql 脚本,我可以做相反的事情吗?我从 django 创建数据库并迁移到 oracle,生成逻辑模型将非常有用。
sql - 如何从表中的两行中删除 NULL 值
我得到的输出就是这个。
我希望这是
我的代码:
原始表有两个属性(start_date,end_date),我为 start_date 创建了前导列,为 end_date 创建了滞后列