Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 MS Access to Stored Proc

Author  Topic 

shabbsali
Starting Member

1 Post

Posted - 2012-07-24 : 05:30:42
HI

I just need a bit of help what is the SQL for this query which is currently in MS Access? I have read that i can use a Distinct or If exists??

UPDATE DISTINCTROW (InvoiceData INNER JOIN [Products TCS] ON InvoiceData.Product = [Products TCS].Product) INNER JOIN [In Rates Group T Temp] ON (InvoiceData.SursiteCode = [In Rates Group T Temp].SuresiteCode) AND ([Products TCS].SchemeName = [In Rates Group T Temp].Scheme) SET InvoiceData.Inrate = [ChargeValue]
WHERE (((InvoiceData.Inrate) Is Null));

Thanks in advance

Too many people spend money they haven’t earned, to buy things they don’t want, to impress people they don’t like!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-07-24 : 09:37:03
you may be better off posting it in access forum.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -