Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: ActivePerl (x64) is not working with MS SQL Server CE Database

by chacham (Prior)
on Sep 27, 2016 at 13:16 UTC ( [id://1172755]=note: print w/replies, xml ) Need Help??


in reply to ActivePerl (x64) is not working with MS SQL Server CE Database

SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'TABLE'

Side comment: I generally suggest people do not use * in lieu of an actual column list, because of added or removed columns, and possible renames or reordering. Though, that could technically happen here, it is unlikely on an information_schema table. So, i'd still suggest it, just not as strongly.

OTOH, it is also self-documenting and creates less traffic over the network when you only ask for the actual columns you need. At the very least, you do not need TABLE_TYPE in this query since it is specified with a literal anyway.

  • Comment on Re: ActivePerl (x64) is not working with MS SQL Server CE Database

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found