Viewing 15 posts - 301 through 315 (of 7,429 total)
Roy Cross (5/9/2007)
' Add the input parameter and set its properties.
Command.Parameters.Add("@SKU", SqlDbType.VarChar).Value = SKU
...
November 9, 2007 at 7:59 am
Here is all I can see.
http://www.oracle.com/technology/software/products/oracle9i/index.html
November 8, 2007 at 9:24 am
OK here goes, for my example let''s assume I know a query performs better if @Param2 is not included when not set and @Param3 has no effect on performance. Additioanlly...
November 8, 2007 at 8:59 am
OK think I got it now
select
* from hr
WHERE
terminate_date IS NULL OR
cast(cast(TERMINATE_DATE as varchar(8)) as datetime) >= DATEADD(day,-30,GETDATE())
November 7, 2007 at 4:09 pm
Sorry can you provide an example of the raw date value as it is stored and if is not 20070109.071400 wheere the date is 01-09-2007 7:14 AM then how does...
November 7, 2007 at 3:06 pm
What do you mean numeric? your example shows yyyy-mm-dd. What is the format of the data that you must convert from?
November 7, 2007 at 2:48 pm
I think I misunderstand your requirements. You state you need to calculate the avergae length of stay for each quarter per patient. But you are doing it by year. Do...
November 7, 2007 at 2:46 pm
I think you might be going overboard unless I misunderstood you
SELECT
*
FROM
hr
WHERE
(CASE WHEN [EMPLOYEE_STATUS] = 'Terminate' AND hr.terminate_date < DATEADD(d,DATEDIFF(d,0,GETDATE()) - 30,0) THEN 0 ELSE 1 END) = 1
November 7, 2007 at 2:24 pm
The hard part for me is the need to stay ahead of the curve. Just watch how many people are impacted by the fact they have only worked on Mainframes...
November 7, 2007 at 11:18 am
Ramesh (11/6/2007)
wackoyacky (11/5/2007)
BTW, just a note, the limitation still exists in SQL 2005
As I said earlier, the limit only applies for fixed length columns....(i.e. the total length of fixed length...
November 7, 2007 at 8:24 am
Glad you found your answer, and thanks for posting the answer so others might find it faster. 😀
November 7, 2007 at 8:11 am
Look at the execution plan in Query Analyzer and see if you can spot maybe a chance for a better index which may have impact in spades in some cases.
Also,...
November 7, 2007 at 8:10 am
K. Brian Kelley (11/7/2007)
November 7, 2007 at 8:04 am
I would suggest contacting Oracle for a 64-bit version driver. They show releases here for 10G
http://www.oracle.com/technology/software/products/database/index.html
November 7, 2007 at 7:25 am
Viewing 15 posts - 301 through 315 (of 7,429 total)