Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy database
Message
From
03/09/2019 05:10:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/09/2019 01:52:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01670502
Message ID:
01670524
Views:
40
>>You cannot use concat() for a table name.
>>
>>
>>If SQLExec(m.con1, textmerge("SELECT TABLE_NAME"+;
>> " FROM [<<m.db1>>.INFORMATION_SCHEMA.Tables]"+;
>> " WHERE TABLE_TYPE = 'BASE TABLE'"),'tablist') >0
>>
>
>Thanks Doctor Cetin Basoz for helping but
>your codes displays this error message
>
>Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'at20.INFORMATION_SCHEMA.Tables'.
>
>but when I run the following code in sqlserver management query then it work fine as shown in attached image
>
>SELECT TABLE_NAME FROM at20.INFORMATION_SCHEMA.Tables WHERE TABLE_TYPE = 'BASE TABLE'
>
>
>Please

My bad:
If SQLExec(m.con1, textmerge("SELECT TABLE_NAME"+;
 " FROM [<<m.db1>>].INFORMATION_SCHEMA.Tables"+;
 " WHERE TABLE_TYPE = 'BASE TABLE'"),'tablist') >0
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform