Long query time
Hey,I'm just learning how to use SQL, but now ive got this problem.When I'm running the code beneath it take more than a hour to complete while friends of me run this in less then 5 min.Hope any of you...
View ArticleOverview of existing SQL Server Logins, for edit/delete options
Hi all,in my Sql Server Management Studio, I can create a new login by right-clicking the "security" item on the object explorer in the left, and selecting new->Login.Where can I, however, get an...
View ArticleBackup not happening
DECLARE @name VARCHAR(50) DECLARE @path VARCHAR(256) DECLARE @fileName VARCHAR(256) DECLARE @fileDate VARCHAR(20) SET @path = 'Y:\Dbbackup\' SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112)...
View Articleclustering
hai,i have two windows server 2008 severs on vm workstation,may know how to build a clustering between two servers with sql server 2012 on them.please suggest me .
View ArticleIs there a way to insert a string even if the value has a single quote in it?
Hi,I have a varchar string like Name: D'souzaI am getting an error when i am inserting like this.insert into table (D'souza)Is there any way to allow inserting the exact value even if it has single...
View ArticleTrying to log in using new login and sql server authentication: "Login failed...
Hi all,I have created a new login for my server, under the security node on the server level. I did this by right-clicking the Security Node and choosing new->login. i named the login OpenFireUser,...
View ArticleConfigure SQL Server to work together with OpenFire (XMPP/Jabber Server)
Hi all,I am trying to set up Openfire (a jabber/xmpp server) to talk to a SQL Server on the same machine.I am following these instructions for this:...
View ArticleGrant permission on JOB in SQLagent inorder to modify steps in it
after i create a job in SQL Agent and schedule it, my DBA changes the owner . but there is always something and have to modify the job.. when he gives me back permission to modify . i cannot really...
View ArticleSQL Server 2012 Cumulative update package 2 (CU2) for SQL Server 2012 Service...
Hey guys... Im a little bit confused... i wanted to download the newest hotfixes for SQL server 2012...But the download for : 2983175 Cumulative update package 2 (CU2) for SQL Server 2012 Service...
View ArticleMoving data to new database
We have been using SQL Server 2008 Express and recently installed SQL Server 2012 (Not Express version). In 2008 I was able to make back ups to a flash drive and restore the data base from that device....
View ArticleAugust TechNet Guru Winners!
The results for August's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/09/16/the-microsoft-technet-guru-awards-august-2014.aspx Congratulations to all our...
View ArticleGetting data from WMI Queries
Hey guys!I'm trying to get information about disk space using the following example query:"SELECT * FROM Win32_LogicalDisk WHERE FreeSpace < 20000"Simply to get the following error: Invalid object...
View ArticleAfter creating Table, how to add new Column field name from Checkitems in VB...
I want to create table in SQL2012 at run-time. My design form look like - ================================================| chklstbox | | dbo.myTable...
View Articlestopping scheduled jobs and running couple couple
I have an upcoming project where the scheduled jobs has to be stopped by 2:00pm and only couple jobs has to be run at that time. In those couple jobs, one of them got multiple steps and only the 1st...
View ArticleGet Reports and Tables
I'm trying to write a query that will display all the tables and views (FROM information_schema.tables) associated with their respective reports (FROM dbo.Catalog) from a database. Is it even...
View ArticleHow to combine data from two rows into one row
I have the following sets of data. I want to find all the duplicate sets of field values. in the data below there is only one duplicate set: brenda, analyst, green.DocID and Doc Seq combine to form the...
View ArticleDatabase is inrecovery mode since hours
Data base is in IN RECOVERY mode since few hours nowwhen i check the log this is what i findLogin failed for user 'abc'. Reason: Failed to open the explicitly specified database. [CLIENT: 10.99.2.xx]...
View ArticleSQL Server 2014 Setup can't find instance configuration
I was try to install the SQL Server 2014 express but it is not showing Instance Configuration when doing the installation.After finish the installation, the SQL Server services is not item listed.Could...
View ArticleDirty reads vs phantom reads
Hi, What is the difference between a "Dirty Read" and "Phantom Reads". Can anyone explain in brief or give an example? Thanks in advance.
View ArticleSQL Server 2008- procedure optimisation
Hi Experts, I need to optimize the procedure below (SQL Server 2008) and badly need help: I am thinking to reduce search space o Splitting the joins and create intermediate (smaller) results o...
View Article