Coder Social home page Coder Social logo

brig's People

Stargazers

 avatar

brig's Issues

The data types varchar and ntext are incompatible in the equal to operator.

What steps will reproduce the problem?
1. Create an MSSQL Server 2008 table with a varchar column (mine is varchar(20) 
in addition to a geometry column
2. Attempt to query based on the varchar column (I'm also doing a bounding box)

What is the expected output? What do you see instead?

I expect the query to be made, instead I get the following exception thrown:
[Microsoft][SQL Server Native Client 11.0][SQL Server]The data types varchar 
and ntext are incompatible in the equal to operator. [Microsoft][SQL Server 
Native Client 11.0][SQL Server]Statement(s)

What version of the product are you using? On what operating system?
Windows 7 SP1
MSSQLServer 2008 Spatial
Brig 1306


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 Sep 2013 at 1:16

Unable to do OR query operations on column

Apologies if you can do this, I was unable to find it in the documentation.

What steps will reproduce the problem?
1. Create some data which is for multiple years, say 2013 and 2014
2. Try and query based on this

What is the expected output? What do you see instead?

To match data which is in both 2013 and 2014.  Instead I can only get data for 
one year.

What version of the product are you using? On what operating system?
brig 1306

Please provide any additional information below.

  tbl.query_columns.push_back("Year");
  tbl["Year"]->query_value = 2013;
  tbl["Year"]->query_value = 2014;

This just overwrites the query_value with the last one.  You almost want to 
have query_value as a vector which you push back into, with them all been ORs.



Original issue reported on code.google.com by [email protected] on 25 Sep 2013 at 1:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.