DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using Stored Procedure in Sql Server for FoxPro Table.

 
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
ZarrinPour
Member


Joined: 28 Sep 2003
Posts: 8

PostPosted: 28/12/03 18:47    Post subject: Using Stored Procedure in Sql Server for FoxPro Table. Reply with quote

Hi all,
I want to know, Is it possible to write a Stored-Procedure in SQl Server that can be apply on one .DBF table on my computer.?
In the other hand suppose we have a stored procedure for inserting one record to Sql's tables,now i want to use this stored procedure for inserting one record to a FoxPro(.DBF) table that is in "d:\MyFoxTable" directory.Note that Sql tables and Foxpro table are the same ( field type , number of fields & etc..). Is it possible such operation.? for example my Insert stored procedure is :
/////////////////////////////////////////////////////////////////////////////////////
CREATE procedure sp_InsertStd
@StdNo char(9),
@StdName varchar(20),
@StdFamil varchar(30)
As
insert into Student(StdNo,StdName,StdFamil) values(@StdNo,@StdName,@StdFamil)
GO
/////////////////////////////////////////////////////////////////////////////////////
IF i can do this ,how should i change the above stored procedure to achieve this effect.?

Thanks.
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 365

PostPosted: 07/01/04 18:27    Post subject: Reply with quote

Desktop databases do not support the stored procedures.
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group