Rune Allnor <allnor@tele.ntnu.no> wrote in message <906bbf85-73d8-4dae-814e-ba424b7a80ba@q14g2000vbn.googlegroups.com>...
> On 11 Jun, 13:03, "John " <johnhealy...@hotmail.com> wrote:
> > Hi all,
> >
> > Having quite an annoying problem with the database toolkit which I am using for the first time. I have created a datasource and try connecting using the command
> >
> > database(‘testDB, ‘testDB’, ‘testDB_password’)
>
> Is this the *exact* command you use?
>
> First: There is one apostrophe missing at the trailing end
> of the first argument.
>
> Second: The apostrophes show up as 'left' and 'right' aphostrophes
> (ASCII values 96 and 180). Make sure you use the ordinary apostrophe
> (ASCII value 39) or matlab doesn't recognize the strings.
>
> Rune
I have experienced the same behavior. I'm running 64 bit Vista and SQL server 2005. This is the command I used: conn = database('bunge', '', ''). Although it's difficult to tell with this font, they are the ordinary single apostrophes.
I'm using windows authentication so leave user and password blank. Any help would be appreciated.
> On 11 Jun, 13:03, "John " <johnhealy...@hotmail.com> wrote:
> > Hi all,
> >
> > Having quite an annoying problem with the database toolkit which I am using for the first time. I have created a datasource and try connecting using the command
> >
> > database(‘testDB, ‘testDB’, ‘testDB_password’)
>
> Is this the *exact* command you use?
>
> First: There is one apostrophe missing at the trailing end
> of the first argument.
>
> Second: The apostrophes show up as 'left' and 'right' aphostrophes
> (ASCII values 96 and 180). Make sure you use the ordinary apostrophe
> (ASCII value 39) or matlab doesn't recognize the strings.
>
> Rune
I have experienced the same behavior. I'm running 64 bit Vista and SQL server 2005. This is the command I used: conn = database('bunge', '', ''). Although it's difficult to tell with this font, they are the ordinary single apostrophes.
I'm using windows authentication so leave user and password blank. Any help would be appreciated.