Skip to content

Tag: sql

Join query with null values

I have this query SELECT * FROM orders, products, suppliers WHERE product_id=products.id AND `geleverd` = 1 AND supplier_id=suppliers.id It works fine except that when the suppliers_id is …

How to separate values with Parse name in SQL Server

I have a value (500 , 850 , 65.5) as GivenUnitPrice and I want to separate these by making separate columns by PARSENAME I have tried like this and the result is Answer Seems you want to seperate the characters by commas but Parsename() function splits by dot character( e.g. decimal number 65.5 is also splitt…