Viewing 15 posts - 25,186 through 25,200 (of 26,487 total)
Okay, I feel even smaller now with all this praise. Jeff, the last word most people at work would use to describe me is humble. At work, yes,...
March 3, 2008 at 6:51 am
GilaMonster (3/2/2008)
Lynn Pettis (2/29/2008)
March 2, 2008 at 1:51 pm
pbushong (3/1/2008)
using select dbo.fn_BRound(5.344515,2) gives you 5.34 and not 5.35. Any clues on how I can get 5.35 from this number?:crying:
You won't. You are rounding to the 100ths...
March 1, 2008 at 1:08 pm
Jack Corbett (2/29/2008)
Lynn Pettis (2/29/2008)
Okay, sorta helps, but still I'm not quite there. Does that shoot me down from working with you or do I at least understand enough...
February 29, 2008 at 2:35 pm
Jeff,
Okay, sorta helps, but still I'm not quite there. Does that shoot me down from working with you or do I at least understand enough that they are used...
February 29, 2008 at 2:23 pm
Gail,
Since you would ask about Statistics in an interview, what can do you look for in an answer? I have been working with MS SQL Server since 1996/1997 (6.5/7.0/2000/2005)...
February 29, 2008 at 1:55 pm
Jeff Moden (2/29/2008)
Lynn Pettis (2/29/2008)
February 29, 2008 at 1:24 pm
The only thing I remember regarding booleans in Access is that -1 is a true value and zero is false. Based on that, wouldn't that mean you just need...
February 29, 2008 at 1:06 pm
here is a slight variation to what Michael Valentine Jones provided:
declare @year smallint,
@month tinyint
set @year = 2007
set @month = 2
select
...
February 29, 2008 at 12:05 pm
Jeff, I'll give you an "It depends". Yes, it is the start date of the current record, and it with the StatuteId does uniquely identify a single record. ...
February 29, 2008 at 8:51 am
Okay, I came up with a solution that should work in SQL 2000:
set nocount on
create table dbo.StatuteHistory (
StatuteId int,
WeightEffectiveDate datetime,
...
February 29, 2008 at 8:32 am
Mattie,
In SQL 2000, I'd probably add the WeightEndEffectiveDate field and use an insert trigger to update this field. The query then would select the records where the WeightEndEffectiveDate was...
February 29, 2008 at 8:24 am
Jeff,
Could you do it in SQL 2000 with a tally table and derived tables?
😎
February 29, 2008 at 8:13 am
Here is my updated code:
set nocount on
create table dbo.StatuteHistory (
StatuteId int,
WeightEffectiveDate datetime,
Weight int,
primary key...
February 29, 2008 at 8:01 am
You could also do something like this in SQL Server 2005/2008:
set nocount on
create table dbo.StatuteHistory (
StatuteId int,
WeightEffectiveDate datetime,
Weight...
February 29, 2008 at 7:55 am
Viewing 15 posts - 25,186 through 25,200 (of 26,487 total)