Results 1 to 3 of 3

Thread: sql server 7

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Sao Paulo - SP - BRAZIL
    Posts
    65

    Post

    Where can get some tutorial of SQL SERVER 7, with STORE PROCEDURES, TRIGGERS AND examples of VB 5 using store procedures.

    If somebody can send me some example, using the database NORTHWIND I thank

    ------------------
    The blessing of God enriches and it doesn't increase pains

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Trigger examples:
    http://www.vb-world.net/ubb/Forum3/HTML/002723.html

    Stored procedure example from SQL 7 Northwind DB:
    Code:
    create procedure "Sales by Year" 
    	@Beginning_Date DateTime, @Ending_Date DateTime AS
    SELECT Orders.ShippedDate, Orders.OrderID, "Order Subtotals".Subtotal, DATENAME(yy,ShippedDate) AS Year
    FROM Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID
    WHERE Orders.ShippedDate Between @Beginning_Date And @Ending_Date

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width