Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to SQL Server - Ole db error 1435
Message
 
 
À
13/08/2007 13:18:13
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01247859
Message ID:
01247870
Vues:
27
>>>Not at the moment. What is really strange, is this only happens when we connect to a server, not our local copy of SQL Server 2005.
>>>
>>>
>>
>>How exactly you're creating these temp tables? Are you creating them in VFP?
>>
>>Can you show some code?
>
>This is one table created:
>
>    lcsql = "SELECT * INTO #runsrpt " + ;
>            "FROM RUN FULL OUTER JOIN RUNUSER ON RUN.RUN_AUTOID = RUNUSER.RUNUSER_RUN_AUTOID " + ;
>            "WHERE Run.Run_AutoID = " + ALLTRIM(STR(gnID))
>    lnRet = gocnn.execute(lcsql, @lncount)
>
>
>One table is created, then populated with the following command:
>
>    lcsql = 'INSERT INTO #RUNSCHOOL VALUES(' + lctmpstring + ')'
>    lnRet = gocnn.execute(lcsql, @lncount)
>
>lncount in both instances comes back greater then 0.

Where do you have CREATE TABLE #RunSrpt statement?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform