Re: [sqlalchemy] Python Sqlalchemy filter by date range

2018-04-25 Thread sum abiut
Thanks that helps a lot. Cheers On Wed, Apr 25, 2018 at 8:23 PM, Simon King <si...@simonking.org.uk> wrote: > On Tue, Apr 24, 2018 at 4:49 AM, sum abiut <suab...@gmail.com> wrote: > > I have two date picker fields that i want the users to select from date > to

[sqlalchemy] Python Sqlalchemy filter by date range

2018-04-23 Thread sum abiut
I have two date picker fields that i want the users to select from date to end date. and i want to display data between the two dates that was selected. From example form date: 2/14/2018 to date:3/15/2018. when the function is called i want to extract and display data between this two dates. i

Re: [sqlalchemy] Re: join relationship

2018-02-04 Thread sum abiut
Thanks for pointing me to the resource. will check that out. On Fri, Feb 2, 2018 at 7:36 AM, Jonathan Vanasco wrote: > at the very least, you are not using a "join" on the tables. > > i suggest first going through the tutorial again, and paying attention to > the section

[sqlalchemy] join relationship

2018-01-31 Thread sum abiut
Hi, i have i am developing an app in django where i used sqlalchemy to connect to the mssql server and query the database. There is a case where i have to access data from two tables. i have manage to extract the data, but the data duplicated itself once loaded on the template. not sure what i am

Re: [sqlalchemy] connecting to mssql 2008 express server

2018-01-30 Thread sum abiut
Manage to fix it. The issue was at the server side, i change the TCP/IP port to the right port 1433 from the sql server configuration manager then it pickup. cheers, On Wed, Jan 31, 2018 at 9:57 AM, sum abiut <suab...@gmail.com> wrote: > Thanks, i will check that out. > > &

Re: [sqlalchemy] connecting to mssql 2008 express server

2018-01-30 Thread sum abiut
Thanks, i will check that out. On Wed, Jan 31, 2018 at 1:12 AM, Mike Bayer <mike...@zzzcomputing.com> wrote: > On Tue, Jan 30, 2018 at 12:52 AM, sum abiut <suab...@gmail.com> wrote: > > Hi, > > i am trying to connect to an express server 2008 using pymssql followi

[sqlalchemy] connecting to mssql 2008 express server

2018-01-29 Thread sum abiut
Hi, i am trying to connect to an express server 2008 using pymssql following the direction from http://docs.sqlalchemy.org/en/latest/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pymssql but i am getting the following error: sqlalchemy.exc.OperationalError: (pymssql.OperationalError)

[sqlalchemy] obtaining current date from a database table

2017-06-25 Thread sum abiut
I want to do write a query using sqlalchemy to display some result where date is current date. i am confuse about current date part. please point me to right direction. Cheers -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code,

[sqlalchemy] query to get a single field from the last updated row

2017-06-15 Thread sum abiut
Hi, i am having trouble trying to figure this out. I have a table something as below. i want to write an sqlalchemy that query the table and then display the email address from the row that was last updated. Please point me to the right direction to help me accomplished that. fname lname

[sqlalchemy] passing data to Django template

2017-06-13 Thread sum abiut
Hi, I need some help, i am using Django as my web framework and sqlalchemy to query my database. When i pass data to template its not showing on the template. can someone point me to the right direction. The post date is loaded on the template but the Net Balance sum is not loaded. Don't