Viewing 15 posts - 271 through 285 (of 373 total)
Hugo Kornelis (11/14/2010)
Good question. I answered wrong; I thought all statements were cached.Hardik, do you have any references where I can read more about this?
Thanks Hugo. Sorry I don't have...
November 15, 2010 at 10:07 pm
Oleg Netchaev (11/15/2010)
Carlo Romagnano (11/14/2010)
In sql2005, I get an error:"plan_handle" is not a recognized table hints option.
Carlo,
Please check compat level of your SQL Server 2005 AdventureWorks database. If the level...
November 15, 2010 at 9:24 pm
Carlo Romagnano (11/14/2010)
Query text during caching in SQL 2005
This is related to SQL Server caching. What should be the output of following T-SQL query:
USE AdventureWorks2008R2
GO
EXEC uspPrintError
GO
SELECT st.text...
November 14, 2010 at 9:38 pm
sumit.agrawal (11/12/2010)
Try to rebuild one/all indexes on the table and check.... it should come... By the way, Why indexes are required if there are only 6 rows in the table....
Thanks...
November 14, 2010 at 9:12 pm
parthi-1705 (11/12/2010)
Hardy21 (11/12/2010)
November 12, 2010 at 5:56 am
GilaMonster (11/12/2010)
Are there any rows in the table?What's the index_id for that item?
Yes there are 6 rows in the table and index_id = 1 (its primary key). In same table,...
November 12, 2010 at 5:19 am
Thanks for response.
I have executed sp_updatestats stored procedure still same records have NULL for statistic date.
Shall I need to update the statistic for NULL records manually?
November 12, 2010 at 3:08 am
Thanks @adam-2 Gojdas & Author.
It helps me to solve one issue.
November 12, 2010 at 12:18 am
As per the BOL:
If all arguments are NULL, COALESCE returns NULL with Note: At least one of the null values must be a typed NULL.
Then why "SELECT COALESCE(NULL,NULL) AS [COALESCE]"...
November 11, 2010 at 9:34 pm
Good question. Nice extension - Carlo. Thanks
November 11, 2010 at 9:23 pm
Really Nice information. Thanks for sharing.
November 11, 2010 at 2:11 am
tn_350z (11/9/2010)
I am sorry, trying to understand how that would work....could you give me little more detail?by the way thank you for quick respond its greatly appreciated
Please refer:
November 9, 2010 at 10:27 pm
You can use WITH ROLLUP.
For example:
USE AdventureWorks2008R2;
GO
SELECT SalesQuota, SUM(SalesYTD) 'TotalSalesYTD', GROUPING(SalesQuota) AS 'Grouping'
FROM Sales.SalesPerson
GROUP BY SalesQuota WITH ROLLUP;
GO
November 9, 2010 at 8:03 am
Viewing 15 posts - 271 through 285 (of 373 total)