Viewing 4 posts - 1 through 4 (of 4 total)
if i use correlated subquery, and join to two table.
what way should i choose for optimal performance when there large number of rows.
For Example
--************Retrieve a value from any one-table...
October 31, 2008 at 10:37 pm
oh, it's my bit mistake that i use nvarchar to cocatenate with varchar variable. but it's not a problem because some value that loose is not in the WHERE clause...
October 31, 2008 at 10:29 pm
Thank so much,
that you tell me about the solution.
I also do the same of yours to complete the crosstab-report, but something that i want is to know why it's process...
October 31, 2008 at 7:25 pm
oh, no it's just brief explanation so you can see detail below.
Alter Proc rsp_IC_PackingList_CrossTab (@po_no nvarchar(32))
AS
BEGIN
DECLARE cShips CURSOR FOR
SELECT ShipmentDate,Id From tab_ic_packing_list_shipment
WHERE PackingListNo=@po_no
ORDER BY 1
Declare @sql...
October 28, 2008 at 8:56 pm
Viewing 4 posts - 1 through 4 (of 4 total)