Viewing 15 posts - 3,961 through 3,975 (of 4,087 total)
mm (9/15/2009)
Except... I'm getting a 'Incorrect syntax near 'END'.' I'm sure it's something dumb I'm overlooking.
-Michelle ...
September 15, 2009 at 3:51 pm
Since you haven't posted DDL, sample data, and expected results, I can't test this. Try the following:
SELECT DISTINCT CRM_Orders.TRANSACTION_ID, CRM_StatusCodes.USER_STATUS, CRM_OrganizationalUnits.STEXT
FROM ...
September 15, 2009 at 3:08 pm
Can you post your query? It helps to see what you have already done.
Drew
September 14, 2009 at 8:08 am
Depending on exactly what you are trying to accomplish, you might be better off using the WITH CUBE option. It will give you summaries for every possible combination of...
September 12, 2009 at 8:12 am
Since you failed to provide DDL, sample data, and expected results, I had to guess at what you wanted. I also had to use the AdventureWorks database.
The following code...
September 11, 2009 at 5:00 pm
Make sure that the TableName = 'Sale' is in the ON clause and not in the WHERE clause.
Drew
September 10, 2009 at 3:22 pm
You're welcome. It's nice to know that my Master's in Linguistics didn't totally go to waste.
Drew
September 7, 2009 at 12:42 pm
Marcin Gol [SQL Server MVP] (9/7/2009)
sory but what does it mean: "lakhs" ?
It means 100,000. It comes from the same Indo-European root as lox. Since salmon weren't common...
September 7, 2009 at 12:00 pm
lmu92 (9/6/2009)
create TABLE #t (start datetime, finish DATETIME,
CONSTRAINT [PK_t_start_finish]
PRIMARY KEY CLUSTERED (start, finish)
)
INSERT INTO #t
SELECT '11/08/2009 9:00:00 AM', '11/08/2009 10:00:00 PM' UNION ALL
SELECT '11/09/2009...
September 6, 2009 at 1:24 pm
It's very easy to view your cube in Excel 2007.
From the Data ribbon, select "From Other Source" in the "Get External Data Section." (Alternatively you can use the Existing...
September 5, 2009 at 11:38 am
You have two options depending on what you need. Typically, I would just exclude these records from the original dataset in the first place. The other option is...
September 4, 2009 at 7:09 am
It doesn't matter which table you use as long as it has enough rows to give you the highest number that you want to allow. I simply used the...
September 4, 2009 at 7:04 am
rabbu456 (9/3/2009)
Hi thanks for ur reply can u be little bit clear i m new to SQL .................and explain me in detail if possible
Look up Order() in BOL. ...
September 3, 2009 at 7:53 pm
When you select a datetime value in SQL Server, it outputs it in ANSI format. This allows the interface to select the appropriate format. If you really must...
September 3, 2009 at 6:23 pm
Open your cube in BIDS and check the properties for that dimension. You want to make sure that the OrderBy property is set to Key rather than to Name.
You...
September 3, 2009 at 6:08 pm
Viewing 15 posts - 3,961 through 3,975 (of 4,087 total)