Not Able to Apply conditions Properly???
hi everyonei am facing a problem in creating a query,if anyone can help me,it will be reallu helpfulactually i am having a table consisting of two column as shown aboveColumn name:1) PhaseName...
View ArticleGroup By statemnt working in different manner from SQL 2005 to SQL2008
We have got a complex query using 34 group by fields and 34 + 8 Sum() fileds in the output.We have migrated DB from a SQL Server 2005 to a SQL 2008 R2 instance.Now the same query on the same data tooks...
View ArticleData issue in SQL server 2012 RTM (version 11.0.2100)
Hello All,I am using a Server where SQL Server 2012 RTM (11.0.2100).I have a table(ABC) having columns 44 which contains 299 million records. There is column store index present on that table which...
View ArticleJobs logged in the "Job Activity Monitor" but not in the "View History"
SQL Server 2005 Enterprise Ed,Hi guys,I have the following issue:There are some jobs running successfully. The execution is reported in the "Job Activity Monitor" highlighting the "Last execution" and...
View ArticleLoading data into a SQL server 2008 R2 Failover Cluster
Hi, I have been doing research on creating the windows cluster and installing the SQL 2008 failver cluster.How do I restore my databases from a stand-alone instance to the cluster? I know it is...
View Articleddl admin privilege
Hi all,does a ddl admin privilege have execute permission on procedures without granting explicitly .Regards,Venkat.
View ArticleRecovery Model
Hi All,We have databases with Full recovery model. But there were not much transactions with respect to that databases. Am new to DBA, my superior asked me to take backups everyday at end of day. Is it...
View ArticleFind missing indexes using DMVs
In SQL Server 2008 R2. Need to find a list of missing indexes for a database through DMV's. It would be nice to have a column in that which would give details of the possible performance benefit. Could...
View Articlewhy does PLE ever go down when we still have untouched RAM?
We upgraded the server last weekend from 12gb to 32gb.Part of the reason was low PLE numbers.So now the target pages number has gone up - but only to about 10gb. Well OK, maybe we have more RAM than...
View ArticleSQL Server 2012 - FileTable FileShares getting out of sync.
It's strange to me that I can't find anyone with the same issue, because it's happening to me in two different though similar environments...I am creating FileTables and FileShares with non-transacted...
View ArticleSql server 2008 management studio
Can I install Sql server 2008 management studio into Ubuntu operating system? If not then is there any other option or any other way to use sql database to be open or restore into Ubuntu /...
View ArticleDealing with foreign keys
New column has been added for 3 tables. Task now, is to import new data which would need to replace the existing data.However, data import fails due to foreign key constraints. Is it possible to import...
View ArticleSimple queries taking 15+ seconds to run
Hi,In our customer's environment, Save, Find operations from the Web Applications takes 2 seconds to 2 minutes.There are number of SQL statements fired before the actual Save (PreSave) using some...
View ArticlePartioning (job)
hello everyonei have db with 180 table ,major table is geriatric and 160 table relation to major tablelike below image imaging ,i want to insert information of all geriatric my country into Geriatric...
View ArticleData row does not have a matching index row in the index
Hi All,I am having a SQL database where is am getting the following error while running dbcc checkdb query.Can anyone please guide me what is to be done to resolve this issue.DBCC results for...
View Articleduration generated sqlos.wait_info is in milliseconds
I traced a session (running a single statement) that took over 40 minutes with below event turned on. I collected over 400K events and most of them had the duration 0 and the rest of them summed by...
View ArticleCause of Sql2012 deadlocking.....
I have read in several books that, at times, a possible cause of deadlocking can be:>>>> Application accesses objects in a different order each time.What does this mean? "Code" is typically...
View ArticleMemory exercise
Hi Everyone,I am new to this forum and basically new bee to sql administration.Here is what I am looking for. Test Environment I have 4GB physical memory on my 32 -bit machine...
View ArticleTemp DB consistency error event id: 824
Dear All,we are using a SAN storage to maintain our sharepoint databases.we face some i/o errors while restoring a 17gb databases and later all other databses started to giveconsistency errors..so we...
View Articleindex is not working while using ROW_NUMBER
Hi, I have used Row_Number() to implement the paging in my stored procedure. Paging is working fine. But problem is, after implementing the Row_Number(), indexes does not work & a Clustered index...
View Article