Viewing 15 posts - 10,471 through 10,485 (of 18,923 total)
The data is kept in a varchar field or in a datetime field??
Also you can check out the convert function in books online.
December 26, 2006 at 4:57 pm
That would be a nice question to ask the developpement team. I'm sure there must be a very good reason but I just cannot imagine it for now. As you...
December 26, 2006 at 4:55 pm
Sample data and required output would be nice but here's a guess :
WHERE DateCol >= '1998-01-01 10:00:34' AND DateCol < '1998-01-01 23:59:57'
December 26, 2006 at 2:41 pm
I know you're not counting this, but congrats on the 8000th post
.
December 26, 2006 at 2:07 pm
CREATE TABLE #Demo (ID INT IDENTITY(1,1) NOT NULL)
Insert into #Demo DEFAULT VALUES
Insert into #Demo DEFAULT VALUES
SELECT * FROM #Demo
DROP TABLE #Demo
December 26, 2006 at 9:25 am
Sql server stores the data exactly as it should. 18 numerics, 4 of them decimals. It also sends out the data in that format as it should also. From there...
December 26, 2006 at 9:23 am
I would like to but I'm a little sort this year... and I can cam up with a few Ks this week alone so I'm working this year.
December 26, 2006 at 7:18 am
It's the 2nd time you post that question. Looks like you didn't get much help last time. What I'm proposing is you change something in the question.
1 - Dump the...
December 25, 2006 at 7:49 pm
I'm sure we can figure something out. Can you tell us exactly what you are working with (DDL and sample data) and what you need (sample output) and we'll see...
December 25, 2006 at 7:44 pm
I'm not trying to say that this was what happenned. I was just clarifying Jeff's pointof you which I totally agree with (already lost the count of days I lost...
December 24, 2006 at 4:48 pm
Yves the point that Jeff is trying to make is that when someone cross-posts, you dilute the help. Imagine someone spending 1 hour working on your problem and then finding...
December 24, 2006 at 3:29 pm
Let's assume this scenario :
SELECT COUNT(*) AS Total, SUM(Col1) AS SumCOL1, SumCOL1 *1.0 / Total AS Avg
FROM dbo.YourTable
As you stated, the columns SumCOL1 and Total do not yet exist neither...
December 24, 2006 at 10:18 am
Can you give us more details on what you need?
From what I understand, you are asking us how to program in sql server. And that subject is way to broad...
December 23, 2006 at 7:22 pm
Thanx for the info. merry xmas to you to!
December 22, 2006 at 2:44 pm
The problem has never been selectivity... I'm still wondering how the heck the server will be able to do a seek on a search like this one :
WHERE(
Oct_1 =...
December 22, 2006 at 9:49 am
Viewing 15 posts - 10,471 through 10,485 (of 18,923 total)