bcp error with SQL Server 2008
In working through the 70-432 training material, I have entered the follwing:bcp AdventureWorks.HumanResources.Department outc: \test/department.txt -c -S HOME -TI receive the error message -- Could...
View ArticleMigrating master database to another server (DR testing).
So I was tasked to do some DR testing, by moving one of our environments to another. I was tasked with moving 1 user database called Vant, master, and msdb. I managed to accomplish it, but it wasn't...
View ArticleSQL connection hang
hello friends,we are using sql server 2008 R2 as backend for asp.net web application. During application access after sometime, sql server is not responding. There is no any transaction fired. In...
View Articleuser temp tables not getting cleaned out from tempdb?
Im seeing what looks like temp tables that are hanging around in tempdb and not getting cleaned out. This is SQL 2008 SELECT * FROM tempdb.sys.objects so WHERE name LIKE('#%') AND...
View ArticleMirroring or AlwaysOn??
I am anticipating setting up mirroring between servers on opposite sides of the country. When I look at the BOL mirroring section, however, it says mirroring will not be continued in future SQL...
View ArticleSQL SERVER COMPATIBILITY ISSUE.
HiIm using visual studio c# 2010 express in windows 8 OS .When I'm connecting to the database I'm getting an error called program compatibility assistance, i inserted the picture for clear view. I...
View ArticleSQL Server uptime, Database uptime ?
Is there a way, preferably with T-SQL, to query how long the SQL Server service has been running?Also how long a particular database has been running (i.e. when it was last set online)?I'm hoping for...
View ArticleDoing a check on blocking in the last few hours - use sysprocesses dmv?
I want to see blocking that is not only happening now, but has happened in the past few hours. Additionally, Id like to capture the statement that was causing it.Can I use a combination of Sysprocess...
View Articlemove tempdb file location to a different drive - New Problem and Solution
It was a late evening call from the customer that they tried to move tempdb from one drive to another and issued an alter database statement with the new file name for mdf and ldf as below. The...
View Articlewhich SQL Server protocol is needed to communicate with Biztalk, Sharepoint,...
Hello, I just noticed that I have not configured the named pipes protocol for my Biztalk instance.I search a list of SQL Server protocols needed by product. For Biztalk, I now know that we need to...
View ArticleLog file initial size is not changing
Hi Team,I have a database on SQL Server 2008 whos log file is 187 GB while total backup size of database is 5 MB.When I am taking log backup and full backup and trying to change the initial size of log...
View Articlehow to copy stored procedure from one system to another system
I have database ( Employee database having 1000 table and 500 procedure) in one system1 and same database(Employee database) in another system2 having same number of table ie. 1000 table but...
View ArticleSQL 2008R2 DBCC MEMORYSTATUS empty results for values Target Committed ???
Im following this interesting article on looking at various queries to gather information on system...
View ArticleInterpreting results from sys.dm_io_virtual_file_stats - good or bad
Based on the below results, for a given server, can I say that the server isnt spending much time waiting on the disks?SELECT * FROM sys.dm_io_virtual_file_stats(DB_ID(DB_NAME()), NULL) AS...
View ArticleHow to copy a database with all the objects and relationship but with no data
Hello ExpertsI am here for your advise as usual, I want to create a copy of my current database from an existing one on SQL Server 2008r2 Standard Edition, here is what I need, I want all the objects...
View ArticleQuestion About SQL Cache or Page File
Hi, In my company, we have a huge database (about 63 GB). In this database, we have an table, which have 15 million data in it. This table has an identity column, with incremantal (1,1) condition. This...
View Articlefile microsoft.sqlserver.management.sdk.sfc, version=11.0.0.0 not found
I am using vs 2013 and sql server 2014 and when I try to update the model from Database I get this error where it is asking for an old versión 11.0.0.0 of Microsoft.SqlServer.Management.Sdk.Sfc. I...
View ArticleProcessor information performance monitor counter
Hi,We have a Sql server clustered installation running on windows 2008 R2. We are using performance monitor to capture about 30 counters. We are capturing Processor\% Processor Time_Total. I...
View ArticleSQL Server Sniffing Issues
Hi,I have a specific performance issue that I am trying to diagnose, I noticed that update statistics is frequently run on a database, and I want to just rebuild the indexes only and not manually run...
View Articleinstalled database engine /ssas/ssrs2008 R2 SP2 on window 8. could not see...
need help on this issue?
View Article