Friday, June 10, 2011

SELECT 101 FAQ's FROM SQL Server Community INSERT INTO Free eBook (185 pages, PDF)

SQL Server Forum Support Team - SQL Server Community FAQs eBook download

Our SQL Server Forum Support Team authored, collected and consolidated those common asked questions in SQL Server MSDN and TechNet forums into this ebook so as to provide an offline reading and learning experience for IT professionals and people who are interested in SQL Server. In this ebook, there are totally about 101 items covering database administration, SSAS, SSIS and SSRS which are good references for you to handle common SQL Server problems.


Part I Database Administration
1. Why did a T-SQL script fail to run a job when it could successfully run in SQL Server Management Studio ? 6
2. How can I degrade a SQL Server database from a higher version to a lower one? 8
3. How can I create a linked server to the Access or Excel data source from the 64-bit version of SQL Server 2005/2008? 9
4. Why is all of the memory allocated for SQL Server not shown in Windows Task Manager? 11
5. How do I configure SQL Server to use larger memory space over 2GB on a 32-bit server? 13
6. How do I rename my SQL Server instance? 15
7. How do I store data in multiple languages within one database? 16
8. How do I calculate the space a nullable column takes in SQL Server 2008? 17
9. Why can't I view the list of databases, tables, views and etc. in the SQL ServerManagement Studio Object Explorer? 18
10. Why can't I by pass the "Restart computer" rule when installing SQL Server 2008? 19
11. Can SQL Server Enterprise Edition be installed on client operating systems? 20
12. How do I troubleshoot SQL Server connectivity issues? 21
13. Why can’t I track data changes even though I already enabled the database audit on my database? 22
14. How do I use Powershell script to read the information of any database on a server? 23
15. Why can't I log on to SQL Server using Windows Authentication in SQL Server Management Studio? 24
16. What permission(s) do I need to execute a stored procedure (sp)? 25
17. How do I troubleshoot SQL Server 2008 installation issues? 27
18. How do I configure SQL Server to enable distributed transactions via Linked Server? 28
19. How do I find the correct "server" or "data source" value for an SQL Server instance in a connection string? 29
20. How do I configure Windows Firewall to allow remote connections using TCP/IP protocol for SQL Server? 30
21. Could SQL Server 2008 Express edition and SQL Server 2008 R2 Express edition be installed side by side with SQL Server 2005 Express? 32
22. How do I apply a service pack for an instance of SQL Server 2005 Express Edition or SQL Server 2008 Express Edition? 33
23. How do I resolve ‘SQL Server Setup cannot valid the service accounts’ error message during the setup? 34
24. Why do I get ‘Rule “Existing clustered or clustered-prepared instance” failed’ error while adding new features to an existing instance of SQL Server Failover Cluster? 35

Part II Analysis Services
25. How do I clear the warm cache of a cube? 38
26. How do I exclude data members or create non-aggregatable values in parent-child dimensions? 39
27. How do I specify a calculated member as the default member of an attribute? 41
28. How do I create AVG measure in my cube? 42
29. How do I implement dynamic security for the users? 43
30. What is the common usage of Unknown member? 44
31. How do I achieve Cumulative Sums for a set in MDX? 46
32. How do I use wildcards in MDX? 47
33. How do I query multi-dimensional data in a relational database with T-SQL? 48
34. How do I resolve the error "File system error: A FileStore error from WriteFile occurred. Physical file: ...." when I process a dimension by using the Process Update option? 49
35. How do I connect to a SSAS cube through Internet? 50
36. What will happen if I create two roles for a user? 51
37. How do I connect to SSAS instance without SQL Browser services started? 52
38. How do I keep on accessing my cube in MOLAP storage mode when it is processed? 53
39. How do I have the members of a dimension displayed in my custom order? 54
40. How do I run MDX query in Excel 2007/2010? 55
41. How do I automatically deploy my Analysis Services 2005/2008 project? 58
42. How do I process a cube via T-SQL? 59
43. Can I perform writeback operations in Excel 2007? 61
44. How do I troubleshoot the slow MDX query performance? 62

Part III Reporting Services
45. How do I hide the toggle image (+) if there is no row when using drill-down? 65
46. How do I achieve nested aggregation? 66
47. How do I achieve column break in a matrix? 68
48. How do I use Parent-Child Hierarchies and formatted value in report with Analysis Services? 70
49. How do I set interactive sort across multiple groups in SSRS 2005? 72
50. How do I get distinct values of SharePoint column using SQL Server Reporting Services? 74
51. How do I resolve the printer problem “Unable to load client print control”? 75
52. How do I allow Enter key to act like the “view report” button? 76
53. How do I avoid prompting Login dialog while deploying report from Microsoft Business Intelligence Development Studio? 78
54. How do I resolve the error “No report servers were found on the specified machine”? 80
55. How do I get the subtotals of each page and previous pages at the bottom of the report? 81
56. How do I anonymously access the Report Manager? 82
57. How do I deploy a Report Server for Internet Access? 83
58. How do I resolve the Reporting Server Error 1053: The service did not respond to the start or control request in a timely fashion? 84
59. How do I dynamically load an external image in a report? 85
60. How do I call the public methods of Reporting Service Web service in XML Datasource to query report server metadata? 86
61. How do I get group total in Group Footer with PageBreak in SQL Server Reporting Services? 87
62. How do I create cascading parameters when using cube database in Reporting Services? 89
63. Why does the “Attempted to divide by zero” error still happen? 90
64. How do I solve the issue - The configuration file contains an element that is not valid? 92
65. How do I pass a multi-value parameter within a URL? 94
66. How do I keep only one vertical scroll bar in local report? 95
67. How do I Hide Export Options with Local Report? 97
68. How do I get the same page number in web page and PDF? 98
69. How do I implement OR logic or complicated logics for filters in a SSRS report? 99
70. How do I work Parameters with a local report? 101
71. How do I pass a multi-value parameter into a report with SQL Server Reporting Services (SSRS) Web Services API? 102
72. How do I pass a multi-value parameter to a dataset while using LIKE operator in the WHERE clause? 104
73. How do I preview a Subreport which is in another SSRS project? 105
74. Walkthrough: How to list models from SQL Server Master Data Services in a SQL Server Reporting Services (SSRS) 108
75. Walkthrough: Control Dataset Query Dynamically based on SSRS Report Parameters 114
76. Walkthrough: How to change XML data for embedded XML document in a SQL Server Reporting Services (SSRS) report 116
77. Walkthrough: How to get distinct values of a column of a SharePoint list using SQL Server Reporting Services 121
78. Walkthrough: Assign Dataset Dynamically Created in Code to your local report with ReportViewer 128
79. Walkthrough: Restrict the users to see only their folders via Reporting Services web services 131
80. Walkthrough: Add a Subreport in local report in ReportViewer 136
81. Walkthrough: Working ReportViewer with a complex Business Object with a nested generic list type property as data source for local reports 140

Part IV Integration Services
82. How do I set a flat file name for flat file connection manager dynamically? 146
83. How do I use dynamic T-SQL in Lookup? 147
84. How do I use lookup transformation to load data incrementally? 148
85. How do I create a folder for SSIS package in MSDB with T-SQL? 150
86. How do I resolve the error "Connection is busy with results for another command"? 151
87. How do I programmatically create a Transfer SQL Server Objects task? 152
88. How do I execute a stored procedure with a return value and an output parameter in an Execute SQL Task? 154
89. How do I use the Fuzzy Grouping transformation? 156
90. How do I use Integration Services to achieve Push-mode processing for Analysis Services? 158
91. How do read data from Excel 2007 with Integration Services 2005? 160
92. How do I upgrade my DTS packages to SSIS 2008 packages? 161
93. How do I troubleshoot SSIS packages failed execution in a SQL Agent job? 162
94. How do I track the error message when my SSIS package failed execution? 164
95. How do I troubleshoot a connection error regarding DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER ? 166
96. How do I troubleshoot SSIS package hanged for running? 168
97. How do I use SSIS to completely transfer my database including logins, users, and permissions from one server to another server? 173
98. How do I create and deploy a SSIS custom task? 175
99. How do I improve package loading performance in BIDS when I open a package which is imported from another place? 177
100. How do I use parameters in an SSIS ADO NET source? 178
101. How do I refresh the layout information of a SQL Server Integration Services (SSIS) package that is modified programmatically? 179

..." [GD: click through for the PDF download link... Given I leached most of the page, I didn't want to leach all their traffic... ;]

This looks like a pretty darn cool compendium of SQL Server FAQ's...

No comments: