| Thread | Last Post | Replies |
|
| How to "avoid" a GROUP BY - HAVING | 30 May 2007 21:12 GMT | 1 |
I have four tables, 1. First has Items, 2. Second has Features, 3. Third defines the ItemsFeatures
|
| Filtering out zeros | 21 May 2007 19:01 GMT | 3 |
Running a query that adds up certain fields in our database and where applicable returns a zero total. Looking for a way to return only those lines that are not zero value. I'm new to this SQL thing, have experience in Access but am tripped up on
|
| SQL Syntax Question | 21 May 2007 15:05 GMT | 1 |
I have the following syntax: "select itemnmbr, locncode, (qtyonhnd-atyalloc) as "QTY Available Main" from iv00102 " The results look like;
|
| UNION query. Wrong answears. | 17 May 2007 22:28 GMT | 2 |
We are running SQLSERVER 2005. The following query give the wrong answear. WHY???? SELECT * FROM (SELECT Clearance.ClearDate as CLDATE, ORDER1.FULFILLMENTCODE AS FCODE
|
| Get user syntax | 17 May 2007 20:44 GMT | 1 |
I am building a view for a report and one of the requirements is to grab the user who is running the report. What would this syntax look like? I thought it was getuser(), but no luck there. Thanks,
|
| using wildcards [ ] in REPLACE or CHARINDEX functions | 11 May 2007 22:42 GMT | 1 |
I'm basically trying to replace non alpha characters of values in a couple columns, but would prefer to create a ud-function or have a function in my view do this for me rather than have to manually update every non-alpha character.
|