TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Rich
from: Geo.
date: 2003-06-17 19:16:30
subject: Re: SQLserver help

From: "Geo." 

nope. table accounttypes does (sortorder field is 1's and 0's).. Hmmm I
wonder if there is some subaccount that has an accounttype which no longer
exists?



nope, 79 account types, 79 accounttype definitions. I'm stumped.

Geo.

"Rich"  wrote in message news:3eef7747{at}w3.nls.net...
   Does table SubAccountDataTypes have a column named SortOrder?

Rich

  "Geo."  wrote in message
news:3eef654b$1{at}w3.nls.net...
  Ellen (or anyone who knows sql),

  Got any ideas on the cause of this error? I'm not even sure what table to
  look at from this query...

  [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name
  'SortOrder'.

  --------------------------------------------------------------------------
--
  ----
  Select dt.*, at1.AccountType, CASE (Select Count(*) From SubAccountData sa
  Where sa.DataTypeID = dt.DataTypeID) WHEN 0 THEN 'Delete' ELSE '' END as
  DelLink --, ISNULL(ObjectGroup, '') as ObjectGroup From
SubAccountDataTypes
  dt, AccountTypes at1 --, ObjectGroups og Where dt.AccountTypeID *=
  at1.AccountTypeID AND dt.ExternalSystemType IS NULL -- and
dt.ObjectGroupID
  *= og.ObjectGroupID Order By dt.SortOrder

  --------------------------------------------------------------------------
--
  ----
  S0022


  Geo.

--- BBBS/NT v4.01 Flag-4
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.