Intellisense 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 ArticleInstall of Database Engine Tuning Advisor
Hi, All databases on this site are 2008R2, however I have SSMS 2012 on my desktop. I would like to install "Database Engine Tuning Advisor" on my PC, would I install the 2008R2 or 2012 versions of this...
View ArticleMSDTC
I have installed sql server 2012 on windows 2012 cluster(Active/passive) also I have installed MSDTC.Our application guy complaining that he can't connect to the cluster, i have checked my windows log...
View ArticleCopy values between tables and save id
Hello everyone, I am bumping into a problem that is possible easy to solve, but since I am a noob in SQL server, I might be glitching somewhere.I have a table that holds Image type called Attachments...
View Articlesorting tables
What different ways could you sort a list of data into a specific order, i.e.:Smallest to largest? Cheapest and most expensive by group?sukai
View ArticleCannot copy mdf files.
Hi,I am not sure if it is a right forum for the question. I tried to copy a file from "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\aaa.mdf" to aplace. But a message pop outCannot copy aaa:...
View ArticleCreating a new database using an MDF file
My database saves as MDF. I want to know what are the steps to restore or create a new database using a MDF file? I tried to restore as usual but it shows an error. Please help.
View Article