親åé¢ä¿ã hierarchyid ã§è¡¨ãã¦ãèªåå«ãã¦èªåããä¸ä½ã®ãã¼ã¿ãæ¤ç´¢ãããã¨ããã£ãã®ã§ãã¡ãã£ã¨ç¢ºèªã é層ãã¼ã¿ (SQL Server) - SQL Server | Microsoft Learn ã¨ããããã¯ã¨ãªã¯ãããªã® drop table if exists [é層åãã¹ã] create table [é層åãã¹ã] ( [PK] bigint not null primary key , [é層PK] hierarchyid not null index [IX_é層åãã¹ã_é層PK] , [åè] nvarchar(max) ) ; begin tran ; with [cte] as ( select 0 as [seq] union all select [seq] + 1 from [cte] where [seq] < 99999 ) inse
{{#tags}}- {{label}}
{{/tags}}