How can we help you today? How can we help you today?
Omid

Activity overview

Latest activity by Omid

Dan_J said: Hi @Omid, Thanks for reaching out to us regarding this and for bring this to our attention. I'd like to try and replicate the issue you are seeing to better understand the issue and then potentially escalate it to our development team. Would it be possible to get a copy of your syntax around the following?: WITH Tree AS ( here I make a tree, without problem ) UPDATE dbo.whs_Inventory SET ProfileId = NULL FROM Tree WHERE Tree.ParentId IS NOT NULL Hi Thanks for your comment my complete code was: <div>WITH Tree AS&nbsp;</div><div> ( SELECT inv.InventoryId, inv.ParentId, inv.ProfileId&nbsp;</div><div> FROM dbo.whs_Inventory inv INNER JOIN </div><div> dbo.whs_ReceiptDetail RD ON RD.QRcode = inv.QRcode INNER JOIN</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Inserted ins ON&nbsp; ins.ReceiptMasterId = RD.ReceiptMasterId INNER JOIN&nbsp;</div><div> Deleted del ON del.ReceiptMasterId = ins.ReceiptMasterId</div><div> WHERE ins.ReceiptConfirm =1 AND del.ReceiptConfirm=0</div><div> UNION ALL</div><div> SELECT child.InventoryId , child.ParentId, child.ProfileId&nbsp;<br></div><div> FROM dbo.whs_Inventory child INNER JOIN Tree ON child.ParentId = Tree.InventoryId</div><div>)</div><div>UPDATE dbo.whs_Inventory</div><div>SET ProfileId = NULL,</div><div> DeliveryDate = NULL</div><div>FROM Tree&nbsp; </div><div>WHERE&nbsp; ParentId IS NOT NULL /* -- Correct From cluase is : <pre class="CodeBlock"><code><div>FROM dbo.whs_Inventory inv INNER JOIN <br></div><div> Tree ON Tree.InventoryId = inv.InventoryId</div><div>WHERE&nbsp; &nbsp;Tree.ParentId IS NOT NULL</div> */ / comments
Dan_J said: Hi @Omid, Thanks for reaching out to us regarding this and for bring this to our attention. I'd like to try and replicate the issue you are seeing to better understand the iss...
0 votes
an important issue is ignored, and no warning for that (regarding UPDATE statements)
Hi, I noticed that in my codes in a trigger I had a mistake that can be an issue which RedGate SQL Prompt could normally generate warning for that: <code>WITH Tree AS                             ...
3 followers 4 comments 0 votes
I have the same problem. I guess the ToolBelt installer is copying some new VC++ dlls or something that cause the problem. Even after uninstalling or downgrade to SQL prompt v9.0 did not help / comments
I have the same problem. I guess the ToolBelt installer is copying some new VC++ dlls or something that cause the problem. Even after uninstalling or downgrade to SQL prompt v9.0 did not help
0 votes
Server ddl triggers are not listed in suggestions
Hi,I am using SQL prompt 10.4 Looking at object explorer window, I can see some ddl tiggers under "Server objects" node.By typing "Alter tigger ..",  suggestion window appears but does not recogniz...
1 follower 1 comment 0 votes
double Clicking on search results dose not locate the right procedure on the object explorer tree
Hi, I updated my SQL search to the last version 3.5 (from 3.2) and SSMS to 18.6 from 18.4Now I have  problem when double clicking on search results.They used to work but now nothing happens, just o...
2 followers 2 comments 0 votes