Restore a Database
SQL Server: 2008R2Hi,I am trying to restore a refresh copy of a Database from one server to another. But I keep getting errors. I will attempt to upload the screen shots of my procedure and error.#1:...
View ArticleNew install of older version on new machine questions (2008 R2 Express)
Hi,I want to setup SQL Server 2008 R2 Express to an i5 machine running window 8.1. This should include ssis, ssrs, ssas, and the management studio. The instructions say to:Step 1: Install Microsoft...
View ArticleWhat is the choice of predicate in the ON or WHERE caluse?
Hello,Can anyone tell me what is the choice of the side (left/right) of predicate in ON or WHERE clause?Suppose there is a select statement select * from table1 t1 inner join table2 t2 on...
View ArticleBCP Utility Comma
I have the following problem. I need to create a .csv file with SQL (with the bcp utility). I can create this .csv file and the following data is inserted: 1","ad","dsa","333","","2","0","","","",""" I...
View ArticleRun as different domain user.
Hi, Need to test a new Windows login in SSMS. I setup a shortcut as below but I seem access SSMS using the domain account I specified in the shortcut, even though I have been prompted for the...
View ArticleHow much data is consumed when we connect to SQL server DB remotely?
Hello,How much data is consumed (kbps/sec or mbps/sec) when we connect to remote sql server database (i.e connecting from my server at home to sql server database at my office). The size of my DB in...
View ArticleMake the database drop down wider?
I've tried grabbing this and dragging it left/right to see if it would increase in size, but I could only move it side to side. Is there a way to make the drop down in SSMS that displays the databases...
View ArticleIntellisense Stopped Working
A day or two ago, IntelliSense stopped working on my computer. Specifically, it doesn't capitalize built-in function names and it doesn't list the available tables in the same way. I am using MS SQL...
View ArticleHow to find what app server the database is connected to in Mgmt Studio
Hi all,First time using this forum...I have question for SQL Mgmt Studio...forgive my ignorance I know nothing about SQL other a few basics. Anyway, I have been tasked with setting up documentation to...
View ArticleSoftware Assurance is required
My customer has a private windows domain with 2 locations, main and the branch. The main office has 2 VMWare host servers that are utilizing shared storage. It is hosting a virtual domain controller,...
View Articledatabase mail configuration
hi, please tell how to configure database mail through smtp, can i configure it with hot mail account and what server name i should give, if i configure with hot mail.
View ArticleAble to Restore DB through GUI even the DB is in offline state.
Hi,I made the DB offline and right click on the database and found the restore option greyed out and it wont allow to perform the restore operation.But before making the database offline if I launch...
View ArticleSQL Server 2014 Express, missing Data Type
My problem is a simple one. When I create a new column and give it a Data Type, my options do not inlcude the "time" type. I found the documentation about available data types, and time is listed as...
View ArticleDecommissioning SQL Server 6.5 -- ODBC drivers, etc.
I'm a software consultant who's been hired to extract the data from a SQL Server 6.5 database and put it into something...anything, more modern, just so they can look at historical data once in a blue...
View ArticleCombining "AND" and "OR" statements in SQL
I'm used to Visual FoxPro (VFP) coding and am just learning SQL. In VFP, I can say: SELECT name FROM table1 WHERE city = "Chicago" AND (street = "Elm" OR street = "Maple") with the parentheses in...
View Articleguest account
Is there anyway to query via TSQL, to list all databases in a SQL instance (2000, 2005 and 2008) to list if the guest account has access to the database?
View ArticlePrint data in same line
Hi,i have loop like printing number from 1 to 5.But i want to print those output in the same line. What i am getting is 1 and on next line 2 and goes on.Sample:while @i<5 begin print @i; set...
View ArticleProblem with the SELECT statement
I wanted to create a view from ms. access. So I used the following codeCREATE VIEW Teaches (DayId,DayName,Period,SubName) AS SELECT D.DayId,D.DayName,P.Period,S.SubName FROM Day AS D,Period AS P,...
View ArticleSplit single row in multiple rows based on date range
I need sql script that can split single row in multiple rows based on start date and end date column in table.Thank you
View ArticleLogin Failed, Error State 8 Password Mismatch For the Client [xx.xx.xx.xx]
Hi Experts,Sql error log I could notice that "Password Mismatch for the login from the client [WebServer IP Address]", the error occuring too many times in a minute say for example in 1 Min nearly 140...
View Article