Trailing and extra spaces

This commit is contained in:
Oliver Davies 2015-05-03 18:55:38 +01:00
parent 74de62ca7e
commit 49d5cbbf48
6 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@ tags:
- regular-expression
- textmate
---
As in [the original post](/blog/add-taxonomy-term-multiple-nodes-using-sql "Quickly adding a taxonomy term to multiple nodes using SQL"), I'd generated a list of node ID values, and needed to add structure the SQL update statment formatted in a certain way. However, I changed my inital query slightly to out put the same nid value twice.
As in [the original post](/blog/add-taxonomy-term-multiple-nodes-using-sql/ "Quickly adding a taxonomy term to multiple nodes using SQL"), I'd generated a list of node ID values, and needed to add structure the SQL update statment formatted in a certain way. However, I changed my inital query slightly to out put the same nid value twice.
~~~sql
SELECT nid, nid FROM node WHERE TYPE = 'blog' ORDER BY nid ASC;