sp_iqtable Procedure Examples

Use the examples as reference for sp_iqtable usage.

Example 1

The following variations in syntax both return information about the table Departments:
sp_iqtable ('Departments')
sp_iqtable table_name='Departments'

Table_name

Table_type

Table_owner

Server_type

location

Departments

BASE

GROUPO

IQ

Main

dbspace_id

isPartitioned

Remarks

table_constraints

16387

N

(NULL)

(NULL)

Example 2

The following variations in syntax both return all tables that are owned by table owner GROUPO:
sp_iqtable NULL,GROUPO
sp_iqtable table_owner='GROUPO'

Table_name

Table_type

Table_owner

Server_type

location

Contacts

BASE

GROUPO

IQ

Main

Customers

BASE

GROUPO

IQ

Main

Departments

BASE

GROUPO

IQ

Main

Employees

BASE

GROUPO

IQ

Main

FinancialCodes

BASE

GROUPO

IQ

Main

FinancialData

BASE

GROUPO

IQ

Main

Products

BASE

GROUPO

IQ

Main

SalesOrders

BASE

GROUPO

IQ

Main

SalesOrderItems

BASE

GROUPO

IQ

Main

dbspace_id

isPartitioned

Remarks

table_constraints

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)

16387

N

(NULL)

(NULL)