I once had to do the same, I created all the tables in my db.py with option :


migrate=False.

 a tedious task but with the DAL syntax it took only a few minutes, when
finised it worked like a charm (although I was on Windows)



On Sun, Aug 12, 2012 at 6:46 PM, Bruno Rocha <rochacbr...@gmail.com> wrote:

> That feature exists only for Mysql and Postgres under
> scripts/extract_mysql_models.py
>
> You can try to rewrite this for SQLserver, or you can use
> db.executesql("RAW SQL")
>
>  *Bruno Cezar Rocha** - @rochacbruno*
> rochacbr...@gmail.com | Mobile: +55 (11) 99210-8821
> www.CursoDePython.com.br | www.rochacbruno.com.br
> Blog: web2py routes <https://rochacbruno.snipt.net/web2py-routes/>
>   Get a signature like this.
> <http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>
>  Click
> here.<http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>
>
>
>
> On Sun, Aug 12, 2012 at 3:41 PM, Hassan Alnatour <
> halna...@gardeniatelco.com> wrote:
>
>> Dear ALL ,
>>
>> I have a database that is running under Microsoft SQL server ,  i want to
>> connect to that database and use its tables , but i dont want to define any
>> tables in my db.py , how can i do that ?
>>
>> Best Regards,
>>
>> --
>>
>>
>>
>>
>
>  --
>
>
>
>

-- 



Reply via email to