Moving databases over to new hdd
I've searched google and I'm really struggling.I've installed sql on the C drive (SSD) of a PC and want to point it to the server on the D drive (SSD is obviously only small and for system rather than...
View Articledm_db_index_physical_stats :Detailed mode
Hi, i am using detailed mode in dm_db_index_physical_stats to populate the index fragementation, but detailed mode taking more time than expected. for small database its taking more than 20 mins.. in...
View ArticleSQL 2008 R2 SP2 connection issues.
Hi, I'm having mainly issues in System Center Service Manager (SCSM) 2012 R2. But after extensive troubleshooting (including rebuilding the SCSM server from scratch) on that end, I believe the problem...
View ArticleTable Design and T-SQL Impelementation Required
Table Design and T-SQL Impelementation Required 1. we have a requirement for report where data will be stored for 4 weeks . 2. The volume of data is huge around 40,00,000 redords so we decided for 4...
View ArticleWhat is schema
Hi, I'm a junior DBA, I want to learn much more about SQL server. Now I didn't get any clear explanation about SCHEMA. Can you please explain it easily with a simple example.also the difference between...
View ArticleSQL 2014
Am getting below error on my application."There is insufficient system memory in resource pool 'default' to run this query"Dennis Katusya
View ArticleSQL Server Express
Hello I have a problem with creating mdf.baze back my ( incorrect syntax near ' rebuild ' ) )
View ArticleJust downloaded and installed SQL 2014 Express. .
Cannot start server. Can see white circle. I assume installation is not complete or demo databases, etc need to be installed. How can I progress
View Articleprovider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance...
Hello Mates,I have a connectivity issue on my Application server; all application based , Sharepoint Farm and services that are set on a problematic server and connected to the DataBase suddenly...
View ArticleStored Procedure, "WITH EXEC AS CALLER"
I'm reviewing a stored procedure some one else wrote. Right before the variable declarations (DECLARE) and right after the parameters they wrote the following:WITH EXEC AS CALLER ASWhat does this do,...
View ArticleSQL profiler event selection help
hi - can someone tell me what event selection property i have to select to only see SQL queries like insert, update and delete? My SQL Profiler is picking up everything and its too much.
View ArticleSum up columns if duplicate records found
Hi All,I wanted to mention a de - duplication logic which we are performing in our database. We are having some data in table1 and I want to apply de duplication logic if there is any duplicate data in...
View ArticleIs filtering possible in Microsoft SQL AlwaysOn?
Hi All, Is it possible to exclude certain tables to be replicated/synchronized by AlwaysOn?Thanks.
View ArticleImporting to SQL Server 2016
Hi, new to this...and limited experience of SQL Server and MS Access.I am trying to import a database that I have created in MS Access 2016 into SQL Server 2016.It appears that you are unable to import...
View ArticleDeclaring temp table produces Msg 1087 "Must declare the table variable"
Hello,I have acquired a .sql script that creates a temporary table, populates it, and then uses it to populate a second table. It supposedly worked correctly before I received it. But now when I run...
View ArticleMS Certifications in SQL 2012
I am hoping to take 70-462 with Pearson UK. Having seen a few practice tests from 3rd party firms they are ALL multiple choice. Is this the case with the real life MS Sql Server exams? The MOS exams...
View ArticleNOT ABLE TO CREATE BACKUP OF FULL DATABASE OF SQL SERVER 2000
WHEN I BACKUP THE DATABASE IN SQL SERVER 2000, I AM NOT ABLE TO GET THE COMPLETE BACKUP. IN OTHE.R WORDS, WHEN I RESTORE THE BACKUP IN SOME OTHER COMPUTER, THE DATA I CAN SEE IS NOT COMPLETE.SINCE MY...
View ArticleJoining two tables with no common column
There are two tables to be joined but there is no column column. Table 1:- It has the following columns in the image. The 2nd table has the following columns:- Now my question is in Table 1, there is...
View ArticleInstalling SQL Server Data Tools and Documentation and tutorials
I am a beginner to SQL. I am having trouble getting started. I do not have any previous experience with SQL. I am trying to learn about SQL through the tutorials, but I am unable to open any tutorials...
View ArticleSQL server Shutdown and start time on last 6 months
Hi, My management team wants a report of SQL server shutdown and startup times for last 6months, in my event log I have last 3 months records only. Please help me to get this done.
View Article