Re: Suggestoins for Local DB to use with Shareware



"Ray Porter" wrote:
I agree. I use Access for all my small installations.
<snip>
It doesn't have stored procedures but that's usually a minor adjustment.

I beg to differ - it does have stored procedures and they work pretty much
the same as in MS SQL, you need to setup the calling parameters a little
different but otherwise you can use the same code. In MS Access these are
called "PROCEDURE Clause".

For example the Access version of the ubiquitous NorthWind database has
several stored procedures one of which is named "Employee Sales by Country"
that executes the following:

PARAMETERS [Beginning Date] DateTime, [Ending Date] DateTime;
SELECT DISTINCTROW Employees.Country, Employees.LastName,
Employees.FirstName, Orders.ShippedDate, Orders.OrderID, [Order
Subtotals].Subtotal AS SaleAmount
FROM Employees INNER JOIN (Orders INNER JOIN [Order Subtotals] ON
Orders.OrderID = [Order Subtotals].OrderID) ON Employees.EmployeeID =
Orders.EmployeeID
WHERE (((Orders.ShippedDate) Between [Beginning Date] And [Ending Date]));


.



Relevant Pages

  • Re: Nested Iif in View / Stored Procedure
    ... "Candace" wrote in message ... > FROM dbo.Device INNER JOIN ... >>IIF statements become CASE statements in SQL Server ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Nested Iif in View / Stored Procedure
    ... datetime, @End_Date datetime, @Nursing_Unit nvarchar, ... FROM dbo.Device INNER JOIN ... >IIF statements become CASE statements in SQL Server ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Suggestoins for Local DB to use with Shareware
    ... comparable to stored procedures in databases like Sybase or Oracle. ... I beg to differ - it does have stored procedures and they work pretty much ... FROM Employees INNER JOIN (Orders INNER JOIN ON ...
    (borland.public.delphi.non-technical)
  • Re: Search/ Stored Procedure.. Not Working
    ... I'm sort of new to Stored Procedures; ... > FROM ((tblAccounts INNER JOIN tblManagerList ON ... > Not sure what is missing, but below is what the Query Analyzer comes ... > PRINT @PrnLine ...
    (microsoft.public.dotnet.general)
  • RE: Stored Procedure with Multiple conditions
    ... > stored procedures and then using them for the reports. ... > C.CostCenterID INNER JOIN ... > entries, and then there may only be 1 entry. ...
    (microsoft.public.sqlserver.programming)