Want to generate temp table name in VFP via SYS(2015) and then create temp 
table in SQL Server.  I've got a function called CreateTempTable that takes a 
parm but it's wrong as it creates a temp table that is named the actual parm!  
Here's the failed attempt:

CREATE PROCEDURE dbo.mc_CreateTempSelected (@tcTempName varchar(12))
AS

CREATE TABLE [EMAIL PROTECTED] (iMailCampaignID INT)
GO


Any ideas?  tia!
--Michael







_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to