Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TypeError: cannot concatenate 'str' and 'NoneType' objects

Mrudula BandaruJan 18 2016 — edited Jan 20 2016

i

While working in FDMEE custom script , I am getting below error. Can anyone let me suggest on this.


  selectStmt = "SELECT * FROM" + strLoc + "_" + strCat
TypeError: cannot concatenate 'str' and 'NoneType' objects

Below is my code:

    selectStmt = "SELECT * FROM" + strLoc + "_" + strCat
    stmt = sourceConn.prepareStatement(selectStmt)
    RS = stmt.executeQuery()

    while(RS.next()):
 

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2016
Added on Jan 18 2016
9 comments
2,466 views