Viewing 15 posts - 106 through 120 (of 162 total)
Unfortunately, no. Row_number() function was launched in SQL 2005
You will have to find another ways for SQL 2000
June 24, 2008 at 7:24 am
Do as follows in the report designer- layout - report parameters
1. Check the items: Allow Null value and Allow blank value
2. Add blank/null in the available values
It works for me.
Also...
June 24, 2008 at 6:59 am
You will find your answer here
Linking to the Previous Row
June 24, 2008 at 5:17 am
You can say
EXEC [Your Stored Procedure] null
It will depend on your stored procedure what result it will give if you provide null as a parameter value to the stored procedure...
June 24, 2008 at 5:09 am
Just use
EXEC [Your Stored Procedure]
in your Query String. You can use Parameters also as follows
EXEC [Your Stored Procedure] @[AnyParameter]
Of course you have to write your procedure yourself 🙂
June 24, 2008 at 4:21 am
I have been a seasoned Oracle developer before I was given assignments to develop using SQL Server around 3.5 years back. SQLServerCentral has been very fruitful to keep in tune...
May 9, 2008 at 5:04 am
although the characters themselves come across as little squares - if I paste the query results in Excel - I get the right results (meaning the japanese characters are "back").
You...
April 17, 2008 at 4:15 pm
SQL Server 2008 will allow to store dates from 1/1/0001 to 12/31/9999.
We can say that MS is creating history 🙂
April 10, 2008 at 7:30 am
Thanks for info Jano Petras,
Internally - datetime is just 8-byte FLOAT number as stored by SQL Server
Could you provide the same info about the datatypes DATE & DATETIME2...
April 4, 2008 at 5:56 am
Thanks Adam. You are right. This is the required modification in the 2nd query which I pointed to in my 2nd post.
Best regards,
Maz
March 21, 2008 at 9:30 am
In case of situation where yopu have multiple products with the 4th highest price, you need to modify the quieries a little.
such as (use the with ties option with the...
March 21, 2008 at 5:49 am
There can be so many ways to do it:
Following are two of the ways; one using the top clause and the other using the ranking function row_number()of the SQL Server...
March 21, 2008 at 4:49 am
Nice to know. A happy end to the hair raising thriller.
By the way, the issue with your query is not the ovnd_key='13'. The issue is if the value of...
March 20, 2008 at 10:01 am
Hi thumor,
Now here is the climax of this nerve wracking thriller :exclamation:
select distinct h.ovnd_key, h.customer, h.division
from ord1 h , prcr c
where h.customer = c.customer
and h.division = c.division
and...
March 19, 2008 at 2:18 pm
I hope to show in this article that the CTEs usefulness is not purely cosmetic.
You are right david. It would be immensely useful in more complicated situations. I would have...
March 16, 2008 at 1:26 pm
Viewing 15 posts - 106 through 120 (of 162 total)