# example script to create View in db storage:

CREATE VIEW \[dbo].\[<mark style="background-color:green;">CS\_ItemMaster</mark>] AS

SELECT ItemNumber, ItemTitle, ItemDetail, units, CategoryName, IsConsumable, IsObsolete, <mark style="background-color:orange;">CONVERT(NVARCHAR(10), (SELECT TOP (1) Value FROM dbo.Property AS P WHERE (EntityID=dbo.vw\_ItemRevision.ItemIterationID) AND (PropertyDefID=166)) AS TpvZm</mark>&#x20;

FROM dbo.vw\_ItemRevision WHERE (ItemIterationID IN (SELECT MAX(ItemIterationID) AS E1 FROM dbo.vw\_ItemIteration AS I1 GROUP BY itemMasterID))


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.holixa.com/holixa-erp-picker/pt-erp-picker/attachments/vault-select/example-script-to-create-view-in-db-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
