Transaction Log

Technical Article

RE: Trying to understand Access

  • Reply

Don't know what kind of crappy code Access is generating for you that is different from your non-junky book, but inner and outer joins, union queries and most sub-queries will be the exactly same as SQL Server. What I would do is build your Access queries from your book examples in "SQL" view. It's possible […]

2005-04-30

Technical Article

RE: UDF in computed column of Temp table fails

  • Reply

#temp tables are created in the tempdb and are only available during the current connection.  Something like the following would not work:begincreate #tempcommitselect * from #temp From BOL:Local temporary tables have a single number sign (#) as the first character of their names; they are visible only to the current connection for the user; and they […]

2005-04-15

Technical Article

RE: Open Source Musings

  • Reply

I've been interested to read the musings, as I always wondered what it was about open source that got people so excited. Little of value is ever really given away, and it does seem to spawn a myriad of different flavours. At least in the closed source world we have a controlled number of jellies […]

2005-02-04

Technical Article

RE: Multiple if statements in a Stored Procedure

  • Reply

>> In a stored procedure, I need to be able to run various sets of code based on whether variable1 is passed or variable2 is passed or variable3 is passed or if variable4 is passed (more than one variable will not be passed at one time.) Sounds to me like you should be looking at […]

2005-02-04

Technical Article

RE: Query Help - Adding a column that sums other columns

  • Reply

Dunno, maybe I missed something....SELECT  E.PAYTYPE , SUM(CASE datepart(dw,E.TimeDate) WHEN 2 THEN E.Hours ELSE 0 END) as Monday , SUM(CASE datepart(dw,E.TimeDate) WHEN 3 THEN E.Hours ELSE 0 END) as Tuesday , SUM(CASE datepart(dw,E.TimeDate) WHEN 4 THEN E.Hours ELSE 0 END) as Wednesday , SUM(CASE datepart(dw,E.TimeDate) WHEN 5 THEN E.Hours ELSE 0 END) as Thursday , […]

2005-01-27

Technical Article

RE: sysdatabases equivalent for OLAP DBs

  • Reply

getting back to your original question, the way to interrogate objects in AS is through the use of DSO (Decision Support OBjects).  This is very easy to do with VB6, slightly harder with VBScript (no object typing ) and OK(ish) with .net (I've used C#) but a little more cumbersome because of the poor object […]

2004-12-07

Technical Article

RE: Union query problem

  • Reply

As has been stated, a plain UNION will eliminate duplicates automatically (a fact which has tripped me up more than once!). The BOL documentation is to my mind a bit poor here - you have the section on the UNION operator in the SELECT topic, then right at the endof the UNION topic it says:ALLIncorporates […]

You rated this post out of 5. Change rating

2004-10-21

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers