Speed up accessing related data in Std Ed ?
Hi, We have most of our data (millions of rows) stored in two tables "row" and "value", linked with an syntetic foreign key. There are many values/columns on each row (1-20)A value is always accessed...
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 Article(1 row(s) affected) Msg 8152, Level 16, State 14, Line 2 String or binary...
I am working on a project for college and I cannot figure out why I am getting these errors. Here is my code and errors I am receiving. in addition, I none of the data is being entered expect for two...
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 ArticleSQL Services fail to start after WSUS windows updates whether they have SQL...
SQL Services fail to start after WSUS windows updates whether they have SQL updates or not.#### Application Event log - Windows Server 2008 R2 Standard - SQL Server 2008 R2 EE #### 2013-02-19 - 3:33:13...
View ArticleAfter doing an ALTER TABLE, inserts not working correctly
I upgraded my SQL Server from 2008 to 2012, and everything worked o.k.I then added three columns to some tables. I used the following script to alter the tables: private int ModifyNewColumns(string...
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 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 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 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 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 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 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 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 ArticleSQL Server VM , separate luns
Hi,We have 5 sql servers located on VM's with 3 instances each. 2 of the sql's are on one physical host, and the other 3 are on another. (running hyperv)Our storage is an equallogic SAN.What is the...
View Article