Skip to content

Tag: sql

sql select query in same table

i have a newby sql related question. let’s say i have this simple table: i’d like to query for records which have “counterparts” only, i.e. i want to get a b only if there is b a in the table but i want to skip the “back links” (which is b ahere). to sum up i’d like t…

UPDATE syntax in SQLite

I need to know if I can do this in an UPDATE statement: Or similar syntax. I’m using SQLite. Note: Nobody understands me, I just want to know if it is possible to SET separate fields to separate values. That’s all. Answer There is a (standard SQL) syntax that is similar to what you propose but as …

PHP, ODBC, and SQL Injection

How does one prevent against SQL injections when using ODBC to connect to a MS SQL Server? odbc_prepare() doesn’t work (see my open question) due to bugs unixODBC, and there is no _escape or _quote …

SQL versus noSQL (speed)

When people are comparing SQL and noSQL, and concluding the upsides and downsides of each one, what I never hear anyone talking about is the speed. Isn’t performing SQL queries generally faster than performing noSQL queries? I mean, for me this would be a really obvious conclusion, because you should al…

IIS connecting to LocalDB

Is there any way so IIS could connect to LocalDB without using the NT SERVICENETWORK SERVICE user account. This account has not suitable permissions. I’m looking use some other default account or …