🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #995

Re: equivalent of RDB$DB_KEY in MS SQL Server?

#995
From: RB Smissaert
Date: Sun, 18 Feb 2007 17:04
29 lines
1835 bytes
Thanks, I tried that, but got a syntax error.
How do I use it? This was my query:

SELECT
EL1.ENTRY_LINK_TYPE,
COUNT(EL1.CHILD_ENTRY_ID)
FROM
ENTRYLINK EL1 INNER JOIN ENTRYLINK EL2 ON
(EL1.PARENT_ENTRY_ID = EL2.PARENT_ENTRY_ID AND
EL2.@Identity > EL1.@Identity)
GROUP BY
EL1.ENTRY_LINK_TYPE

RBS


"Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca> wrote in message 
news:45d8835a$1@newsgroups.borland.com...
> RB Smissaert wrote:
>> Could anybody tell if there is an equivalent for the Interbase
>> RDB$DB_KEY in MS SQL Server?
>
> @Identity
>
> -- 
> Wayne Niddery - Winwright, Inc (www.winwright.ca)
> "The purpose of morality is to teach you, not to suffer and die, but to
> enjoy yourself and live." - Ayn Rand
> 
Technical Details
Message-ID: <45d8871b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45d83499$1@newsgroups.borland.com> <45d8835a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,a44ede0468b45c90
X-Google-Attributes: gid114a0e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "RB Smissaert" <bartsmissaert@blueyonder.co.uk>
Newsgroups: borland.public.interbase.sql
References: <45d83499$1@newsgroups.borland.com> <45d8835a$1@newsgroups.borland.com>
Subject: Re: equivalent of RDB$DB_KEY in MS SQL Server?
Date: Sun, 18 Feb 2007 17:04:53 -0000
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 82.37.28.137
Message-ID: <45d8871b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171818267 82.37.28.137 (18 Feb 2007 09:04:27 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail