Connection Licensing SS2008 STD Ed.
I have installed SS many times and have never indicated the number of concurrent connections or any licensing info, so I am under the impression that an installed SS2008 STD Ed instance will not refuse...
View ArticleSQL Server- Large Pages Use WITHOUT trace flag 834
I read Bob Ward's post on SQL server and Large Pages (http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx). He mentions that even without trace flag 834...
View ArticleUsing Hashbytes and inserting into a table
Hi All,I want to use hashbytes to generage a hash, and then insert into another table. I'm wondering what kind of definition to use when creating the table.Hashbytes will be used to generate a hash of...
View ArticleSQL Server 2008 Extended Event Predicate to target a specific stored procedure
Hi,Could I request for an example of using the extended events predicates to target a specific stored procedure?I am trying to gather as much information when a specific procedure errors or times...
View Articlehow to avoid the loss of users during backup and restore activity
Hi,I have a database with 100+users . If i restore the DB from some other environment, the entire Db is restored including the users. So my old 100+ users where not able to connect to the databases. Is...
View Articlesys.dm_os_wait_stats
Sometimes i had problem with slow working of sql server.After reading some article i find about running sys.dm_os_wait_stats. In my sql server i ran query select * fromsys.dm_os_wait_stats order by...
View ArticleIdle connections: problem or not?
SQL Server Version: SQL Server 2008 R2 SP2 Enterprise 64 bit on Windows 2008 Enterprise Avg Number of Active Connections: 5Avg Idle Connections:350Avg Batch Size/sec: 550I want to know that whether or...
View ArticleQueries and stored procedures running slowly.
Hi,I have noticed that AX performance seems pretty poor so ran a Profiler trace. From it I can see that some stored procedures are taking a long time to run. The below is an example. this particular sp...
View ArticleHow to import extended event data into a table without UI
I have an event session which created files I would like to import into a table, I want to have the columns I watched showing columns on the table I am importing into one of which is post execution...
View ArticleWhich is better for a clustered index Identity or a random Bigint column
Hi All,In a datawarehouse style table, I am wondering which one is better for the design of the table, an identity column which has no use for a query perspective. Or a column which is also unique, but...
View Articleerror when Attach a Database in SQL Server ,,
hello to all of you ,,actually i get trouble when i attach Database in SQL Server 2008 ,,it display message with.. { TITLE: Microsoft SQL Server Management Studio ------------------------------ Attach...
View ArticleCreate a "SQL Server Login Dialog" with Visual C++?
Is it possible to invoke the SQL Server or System API and create a login dialog via Visual C++ 2008, so that the end user can select which server he want to connect, as well as the user/password, just...
View ArticleWhy can't I do the grant?
Hi, I've already created such login in the schema. USE my_schema; CREATE LOGIN login2 WITH PASSWORD = 'Abc1234'; go but why do I get the problem when granting the privileges to the login? use...
View ArticleSQL Server 2012 Domain Service Accounts
Hi,I am using virtual box and have created a VM for a Domain Controller, a SQL Server and Sharepoint. The DC is up and running fine. I have the SQL Server server itself added to the domain. The issue I...
View ArticleAdd language to FullText Semantic search
I've been reading about new Semantic Indexes in Sql 2012, and it seems like tailor-made for my needs.Unfortunately I hit the wall while trying to implement it in my project.The wall is content of...
View ArticleHow does Profiler record writes?
I am running a trace using RPC completed and I am getting 0 in the writes column for stored procedures that are performing inserts. For the same sp, with similiar parameters, some executions show as...
View Articlehow do i replace the usage of "connect by prior" in SQL SERVER 2008-R2 ?
Hi ,i got one requirement like to write the recursive query. the same issue is resolved in oracle 10g with the help of connect by prior functionality.here i am going to post my table structures with...
View ArticleDatabase email issue for an maintenance work
Hi,We do have an daily indexreorganise task done and we have an email sent on completion to selected users.Now for some days now we are not receiving emails from the SQL server agent job. However other...
View ArticleWhen to Use Clustered Index and Non Clustered Index
When to Use Clustered Index and Non Clustered Index in SQL Server 2005?Give the Scenario's and give examples?
View ArticleODBC32 connection fails to authenticate on SQL Server
I ran into a weird error message yesterday when trying to connect a workstation ODBC32 to the SQL Server using Native client 10. See message below. I can't tell if I am facing NAT/firewall issues or...
View Article