Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 28th, 2004, 02:32 PM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default .SPT files? (SQL Server 2000)

Hello,

I have a program (browser-based) that uses a SQL Server database to store data. The code in the browser contains hyperlinks to .SPT files. These files seem to contain only the parameters for similarly name stored procedures. ie:
---------------------------------------------------------------
<a href="steve.spt"><strong>
    Steve Cashouts
      </strong></a>
---------------------------------------------------------------
The steve.spt file contains something akin to:
---------------------------------------------------------------
    ~ Get Sales Data~
^D@ "Start Date" : "2003-01-01"
^C@ "Units|All|Detail" : "0"
^C@ "Periods|All|Detail" : "0"
^C@ "Gross or Net|Gross|Net" : "0"
^C@ "Show Zero Records|Exclude|Include" : "0"
---------------------------------------------------------------

There is also a stored procedure called sp_Steve.sql

I am trying to figure out how selecting the link that calls the .SPT file causes the stored procedure to run. I've been hunting far and wide on the net and found numerous references to SQL pass-through queries, but no reference to how they store the parameters or how they call the procedure. Any help is greatly appreciated.

Thanks

Steve
 
Old July 28th, 2004, 04:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Steve,

SPT stands for - SQL Pass-Through, this is a terminology in Visual Foxpro. You might want to take a look at this - Accessing Server Stored Procedures with SQL Pass-Through Functions

But I can't find much on that, as I am not good at this. Just managed to get some info on that for you here.

Hope that helps.
Cheers!



_________________________
- Vijay G
Strive for Perfection
 
Old July 29th, 2004, 08:40 AM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Vijay,

Thanks. I've seen that documentation. These files seem to be a holdover from older versions of the software. I was hoping that wasn't the case.

Again, I appreciate your help.

Steve





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to shrink data files in SQL Server 2000 chintan SQL Server 2000 6 October 15th, 2008 01:58 PM
SQL Server 2000 and SQL Server 2000 CE dparsons SQL Server 2000 1 July 31st, 2006 12:59 PM
Read SQL Server 2000 files into MS-Access slewis4 SQL Server 2000 8 March 1st, 2006 04:21 PM
looking for access 2000 to sql server 2000 sql/que method SQL Server 2000 0 July 7th, 2005 12:46 PM
SQL SERVER 2000 AND ACCESS 2000 ckentebe SQL Server 2000 3 June 17th, 2004 08:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.