Viewing 15 posts - 4,066 through 4,080 (of 4,080 total)
Good question, and a learning experience for me
I missed it too, not realizing that the underscore wouldn't catch 'C_us'. The lesson learned is that underscore as a...
August 13, 2008 at 10:33 am
I come back from vacation and this thread is still going strong!
I have something to say about the "scalability" argument that's been raised by those who argue against stored...
August 4, 2008 at 10:08 am
Julie:
Think of it this way, the actual value of a database column does not change until it is written back to the database. This is done a...
July 30, 2008 at 2:06 pm
Can we all agree that mindless ANYTHING is silly? Fun maybe, but still silly 😉
July 30, 2008 at 1:10 pm
This has been a fun read 😀 Here's my two cent's worth.
SQL isn't a religion, but it is a speciality. DB access is not inherently...
July 30, 2008 at 10:33 am
Folks... I apologize. I typed my example above off the top of my head and it is full of GLARING inconsistencies.... this is not my day to...
July 23, 2008 at 2:24 pm
If you absolutely must make it a view, you can create a table to hold parameters and include a join to the parms table in your view. ...
July 23, 2008 at 1:46 pm
If you prepopulate a "calendar" table with your weekend days and holidays, you can also do a simple query as shown in the following example. Please note...
July 18, 2008 at 8:14 am
Lynn, I apologize for not addressing you by name. I'm such a forum newbie that I wasn't even paying attention to your name instead of your ranking. ...
July 8, 2008 at 1:05 pm
SSCrazy:
You omitted the following, which would also work. 😉
select @Result = @intVal1/(1.00 * @intVal2)
and
select @Result = (@intVal1* 1.00)/@intVal2
You can either always remember to use...
July 8, 2008 at 12:29 pm
I shouldn't write code for you, but I'm still having my morning coffee and this is a good warmup. Here is an example using a table variable....
June 19, 2008 at 8:54 am
Mr. Moden is of course right. Once you have an id (sequential integers), you can left join the table (t1) to itself (t2) on t1.id = t2.id-1. ...
June 18, 2008 at 8:43 am
You see this a lot when working with data that has been stored as integers in tables. You can use CAST or CONVERT in your expressions...
June 17, 2008 at 1:19 pm
My own rule of thumb is to avoid functions that contain queries. Yes, they make for easy reading, but it's far too likely that they will get...
April 29, 2008 at 7:34 am
I was glad to see you qualify your preference for electric-only by recognizing that it only moves the pollution problem to the power grid. If we continue...
March 31, 2008 at 9:15 am
Viewing 15 posts - 4,066 through 4,080 (of 4,080 total)