SQL Server job accessing file from different location
I am calling EXE from SQL Server job,and that exe requires one blank .mpp file which i have put in EXE folder but while executing EXE,EXE started searching file in C:\Windows\System32 folder instead of...
View ArticleSQL Server After Installation...2008
i have installed MS SQL Server 2008 and it is not connecting to local server or my system?What should i do?For more detail i have attached screenshot? plzz help me...thanking you in advanced...
View ArticleHow to use Hour() in SQL Server 2008 R2?
Hi,How can i use the Hour() in Sql Server 2008 R2 to only print the hour?Like: 1, 2 and up to so onThanks in AdvanceRegards.
View ArticleMirrored backup files or using File Replication
When setting up backups on a SQL Server I have been told that I can either mirror the process to 2nd server (to store a copy of the backup file) or using a File Replication. I've never heard of File...
View ArticleHide Results Pane
How do I hide the Results Pane in SQL Server Management Studio 2012? It used to be Ctrl+R but this no longer works :(
View ArticleRestoreing differential Backup for Mirroring
I am in the process of mirroring sql 2008 after a Full Backup i have to restore a differential backup too. so does it also has to be restored as no recovery? or is there an yspecial way to do it?...
View ArticleDatabase Mirroring without witness server
HI,I need to start mirroring the databases without witness server,Can i please have instructions from scratch to end kind of step by step.Regardsk
View ArticleCan't find databases
I am using VS 2012 ultimate.I have installed SQL Server 2012 Management Studio and SQL Server 2012 Data Tools. Both connect to my database engine.When working with my solutions using the VS 2012 IDE, I...
View Articlehow to modify sql job to remove extra information coming in text file
I am exporting the sql query result set to a text file and its writing without the issue,i want to eliminate lot of extra information it is writing For exampleJob...
View Articlewhat is a time frame for a REPORT
Hey,I go to Management Studio|right click SQL server instance |Reports|Standard Reports|Performance -Top Queries by Average CPU Time. then I can get a report.Question :1.what time frame is this for ?...
View ArticleLimitation of "SQL server standard 2012 SNGL OLP NL (single user) " License
we are trying to get SQL Server license for an application with different modeules using SQL Server database. The application will be installed on same server as SQL Server.i would like to know if "SQL...
View ArticleUpdate a table from a sum with a condition from another table
I can't find a way to Update a table with a sum from another tableMy sum statement by itself worksSELECT SUM (Amount2Deduct) as s1 FROM PTDWHERE PreTax = 1What do I need to make this combination...
View ArticleDefragment Sql 2008 System Databases
The query (for our sql 2008 master database)SELECT *FROMsys.dm_db_index_physical_stats(1,NULL,NULL,NULL,NULL);shows an average clustered index fragmentation of 75%.Isn't this number too high? If so,...
View ArticleSQL Profiler Learning
I want to learn the sql profiler, need some summarize & beneficial video links,
View ArticleSSMS Client
HI All,Seeking a help from you. I have installed Sqlserver on my server and my client desktops need to access SQL server from their systems. Is there any way to install sqlserver client on the client...
View ArticleWant to create Duplicate database servers which both servers are usable.
Hi, I currently have one SQL server 2012 Enterprise R2 running on Windows Server 2012 R2 Enterprise. I would like to create a duplicate database server which is the exact mirror of my current one...
View Articlehow can I find out the sql server how often to purge backuped transcation logs?
Hi,I created a job to backup Tlogs about every one hour, the job runs good,in case to prevent backup area is full, I need to purge those backuped Tlogs periodically, say, keekp them only 2 days, then...
View ArticleScript Windows Authenticated User Logins - Upgrading from 2005 server a to...
Upgrading from SQL2005 on one server to SQL2012 on another. I used KB918992 and was able to export from 2005 and import the sql authenticated user login accounts and passwords into 2012.But not the...
View ArticleI want to insert the resultset into new table i created
I have this query running perfectly fine and the result set looks like thisNumberRows Time_stamp -----------...
View Articlequery in sqlserver2008
Hi,in employee table how to get no of active employees,non active employees in single querydatabase=adventureworkstable=humanresources.employeecurrentflag=1 - active employee
View Article