Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import SQL Server query into a DBF
Message
 
 
À
07/01/2020 14:27:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01672529
Message ID:
01672532
Vues:
55
>>Hi,
>>
>>When you run a SQL Select in SSMS and see the query, you can Select All and Copy with Header or Without Headers.
>>But then, if you paste this "report" into a Word or Notepad, you can't really see the records easily.
>>
>>Has anybody created a code that would import this copy of the SQL Server query into a DBF?
>>
>>TIA
>
>That's easy enough. Just make a variable which holds the very same query. Then when you SQLExec() this query, you end up with a DBF which you can Copy to a DBF.

The problem is that I am running this query in the SSMS (remotely connected to the custom site). So, I cannot use VFP SQLExec(). But I can run the SQL Select and copy the query.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform