How to Create new database (copy all table with data excluding 2 table )with...
Please follow the scenario: using C# 1) current database file name is DB20122013. when user click on new year button 2)Create backup copy of current database 3)New database should create with all...
View ArticleNotify operator
Hello,I have a problem with the notification. I have enabled Database mail and i have created an Operator.Under SQL Server Agent\Jobs and then in the job properties i have enabled notification but i...
View ArticleFloat type column in where condition not fetching results
When i use the appropriate value in the where condition for a column of float type still i could not get any result set. Please see the attached snapshot. I know it is bit silly issue. please...
View ArticleWhat is "TDM" ?
Hi! I download SQL Server 2014 CTP2 Product Guide and find many PDF with "TDM" in naming.What does TDM mean ? SQL Server 2014 Faster Insights from Any Data TDM White Paper.pdf SQL Server 2014 In-Memory...
View Articleprivileges
Hi,I need to give a user I created on my database ALL privileges. I have tried by clicking all the membership roles for the user but it doesn't seem to have the permission to alter database which is...
View ArticlePrerequisities for Database mail
Hi all, I am trying to configure Database mail,is IIS is mandatory ? I configured DB mail,but its not working ?Any other settings i need to check in WinServer.Thanks - SelvaKumarSubramaniam.Please MARK...
View ArticleSql 2000 Connection Problems
I am trying to install Sql Server 2000 at the moment but when i try to connect to local Windows NT server i get this messege http://img293.imageshack.us/img293/3263/connection8rq.jpg and if i go to...
View ArticleError 952 Database is in Transition
One of our SQL 2005 database started to give us "Database is in transition...Error 952". We were trying to Take the DB offline when this problem occurred. Restarting SQL service did not help us. We...
View ArticleNewbie to optimization
I tried the following test using 'SET STATISTICS IO ON' using an indexed table, then the same command with no index different table, but identical. Index is as follows: (the table has 6467155...
View ArticleLookup fields in SQL Server
I am new to using SQL Server and need some help creating lookup fields if it is possible. I use the lookup wizard to create lookup fields in access. Can you do the same in SQL?I have successfully...
View ArticleDraging and Droping scripts
I just upgraded from SQL2000 to SQL 2005. When I have a query opened for a database already and I want to drag and drop a script in, I get the login box. Is there anyway to get this to not happen? I...
View ArticleSQL Server 2012 Virtual Labs Error: Application Cannot be Started. Contact...
Hey everyone.I am trying to use one of the SQL Server 2012 Virtual Labs and I keep getting the " Application Cannot be Started. Contact the application vendor" when I try to run the download. Any...
View ArticleColumn Null value
I have some table which has more than 200 columns.Instead of running query for each column I want to know which column has all null rows.Any help will be appreciated.simam
View ArticleCan't Uninstall SQL Server Express
I tried to install SQL Server Express, but at the very end it gave me a message saying I don't have the required OS (I'm using Windows XP SP3). I go to Add/Remove programs, but SQL Server doesn't...
View ArticleSpread the Love! Be our SQL Server TechNet Guru, this Valentine's
TechNet loves you! We love your contributions at TechNet Wiki sooo much that we give you more than just love in return...We give you NOTORIETY, GLORY... and VIRTUAL MEDALS!That's not all, this love we...
View ArticleQuery Estimated Completion Time
Hello , Good Morning. I recently started supporting new set of databases from different team and I am having the problem offiguring out how much time Stored procedure is going to take to...
View Articledeclare a text query
If I have a text query in visual studio EXEC DCC_SPP_GetPeopleByDepartment @Departmenthow can i declare the @Department to be varchar (8000) ?I tried declaring it in the stored procedure, but when I...
View Articlecombine columns in sql
i am working on a project that i have to combine City, State Zip Code. i want it to come out as a single line.City, State ZipCode. I just can't seem to find an sql command that will do this, or i am...
View Articleadding data
Hi ,I have a staging table which have two column...say A and B which have different values.A BFBAT 20TRAINING 30INPUT 40Now I...
View ArticleRemoving timestamp from files for remote backup.
To start off, we are running Server 2008 R2 - SQL Server. We are using a remote backup service (gillware) to handle off site backups. Our backup process looks like this Trigger -> Scan -> Local...
View Article