10 lines
252 B
SQL
Executable File
10 lines
252 B
SQL
Executable File
-- 检查手术表中所有字段是否存在
|
|
SELECT
|
|
column_name,
|
|
data_type,
|
|
character_maximum_length,
|
|
is_nullable
|
|
FROM information_schema.columns
|
|
WHERE table_name = 'cli_surgery'
|
|
AND column_name LIKE '%name%'
|
|
ORDER BY column_name; |