Posted by Harry.Zheng on 2010-08-13
select * from INFORMATION_SCHEMA.TABLES Where Table_name = ‘__RefactorLog’
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME TABLE_TYPE
SFSNEXT dbo __RefactorLog BASE TABLE
select * from __RefactorLog;
OperationKey
5FA4FFA8-6057-4AB0-9DF2-03D428415B10
924A1134-36F6-4120-B6A4-051728CE97DA
…
Environment is SQL Server 2008 R2. Database is managed through Visual Studio 2010. This table shows up on SSMS as a system table, but shouldn’t it be hidden from Information_schema view?
Posted by Harry.Zheng on 2010-08-06
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(56,5): error MSB4062: The “SqlBuildTask” task could not be loaded from the assembly Microsoft.Data.Schema.Tasks.Sql, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly ‘Microsoft.Data.Schema.Tasks.Sql, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, and that the assembly and all its dependencies are available.
It appears that if I switch to target .Net Framework 4.0 on MSBuild, the error goes away.
Posted by Harry.Zheng on 2010-08-04
I read an article that talked about some rather interesting queries in SQL Server.
Have you ever wondered what this will return:
select \
——————-
(No column name)
0.00
Posted by Harry.Zheng on 2010-08-04
Apparently there are two odbcad32.exe:
C:\Windows\SysWOW64\odbcad32.exe
C:\Windows\System32\odbcad32.exe
Depends on where you start the utility, you may or may not see 32 bit drivers. The one in C:\Windows\SysWOW64 looks like the correct one if you want to edit 32 bit driver based DSNs.
Posted by Harry.Zheng on 2010-06-19
Released on June 18 2010.
The Microsoft SQL Server 2008 R2 BPA is a diagnostic tool that performs the following functions:
- Gathers information about a Server and a Microsoft SQL Server 2008 or 2008 R2 instance installed on that Server
- Determines if the configurations are set according to the recommended best practices
- Reports on all configurations, indicating settings that differ from recommendations
- Indicates potential problems in the installed instance of SQL Server
- Recommends solutions to potential problems
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0fd439d7-4bff-4df7-a52f-9a1be8725591