New topic: Use of "DatabaseName"
<http://forums.realsoftware.com/viewtopic.php?t=43297> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message amitavak Post subject: Use of "DatabaseName"Posted: Fri Mar 23, 2012 8:49 am Joined: Mon Jan 02, 2012 1:51 am Posts: 134 Hi, I found in language reference, there is two properties in RealSqlDatabase like "DatabaseFile" and "DatabaseName". Using database file I can specify any existing RealSqlDatabase file. What the use of "DatabaseName"? Can anyone please explain me? Tnank you _________________ Amitava Real Studio 2011 Release 4 Windows 7 (32 bit) Top Jason_Adams Post subject: Re: Use of "DatabaseName"Posted: Fri Mar 23, 2012 9:16 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 1547 Location: Michigan, USA DatabaseName is pretty much useless (unless there's some purpose I'm unaware of) for SQLite database types. Any file-type database, in fact, has no purpose for it. PostgreSQL and MySQL, on the other hand, use it. You don't connect to a Postgres database, per se, but the server, and I use that property to specify to the server which database I'm trying to access. This is useful in that I can set server specific permissions for users to have specific availability and rights to select databases. Hope this helps. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2011r4 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
