i have a table called xyz which is having 5 columns
(client,datmonth,productid,productname,productdesc)
and it is partitioned ascolumn client is the primary partition
column datamonth is subpartitioned based on clientif i have to select both client and datamonth how to do it by select query
i arrived till
select * from xyz partition <clientid-partition>but unable to proceed further
any help?
Something like this will do it. SELECT tblClient.Client, tblClient.DatMonth, tblClient.ProductID, tblClient.ProductName, tblClient.ProductDesc
FROM tblClient
WHERE (((tblClient.Client) Like [Enter name] & "*") AND ((tblClient.DatMonth) Between [Enter start date] And [Enter end date]));Note that I have used the like operator and the Between to filter the date required. More flexible than hard coding the criteris.
David
| « Anyone good with Veritas ... | homepage hijacked » |