Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Truncate-Problem
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 6.5 and older
Application:
Web
Divers
Thread ID:
01582956
Message ID:
01582959
Vues:
33
>Hi there,
>
>I hope this is the right category as my problem sounds a bit starnge.
>I have written an app to copy data from my VFP-DB to a SQL Server-DB (Express Version)
>I use SQL-Passthough with VFP9 and issue a command like "truncate table kunarede",
>after I have checked that I got a valid handle with sqlstringconnect.
>
>The first time it ran on my Win-XP-PC everything worked fine. I copied it to a Win-7-PC and
>the truncate-command failed. I checked it with aerror and got an error message (translated from
>german( like "object not found or not valid".
>I tried to truncate the table within the SQL Server Management Studio and it failed to (No error, it says everything
>ok, but nothing has happened)!
> I went back to my XP-PCand here it failded now too. And here the SSMS failed too.
>I changed the command to "truncate table galdata.dbo.kuanrede" and it worked within
>SSMS. I changed my app and it worked with the WIN-XP-PC.
>I copied it to the Win-7-PC and now I do not get an error-mesage but the truncate still fails.
>I should although mention that it is Win7-32 Bit.
>Has anyone any idea what is going wrong there?
>
>Thanks in advance
>
>Thomas

Did you specify table name in exactly the same case as you have it (in case you have case-sensitive collation of the server)? Also, what error you're getting?
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