SQL Cluster Quorum
I've had an issue all weekend where the cluster wouldn't fallover (2 nodes). One of the servers was switched off and node 2 didn't take over.It only came back up after I rebooted both servers (SQL 2012...
View ArticleBreak SQL Failover Cluster - Keep/Migrate Instance
I'm getting rid of our cluster and moving to a mirrored instance. Since the SQL insance has it's own IP and is kind of a virtual server, how do I break the cluster without messing with the database...
View ArticleSQL Parameters with Multiple Selections
Hi there,I am having some issues with a SQL report I am creating via using Visual Studio, Hoping its a simple query for someone who knows a little more than I do! The situation is this: -1) I have...
View ArticleLost a Physical Drive - how to fix SQL install
I have a server running Windows 2008 R2 x64 Enterprise.It had a C and D Drive. The C Drive is the normal bootable system drive.For whatever reason whoever installed SQL on this server directed the...
View ArticleInsert data from Oracle view into SQL database?
Does anyone here know how to insert data from an Oracle view into a Microsoft SQL database? The idea was to pull information out of our Oracle production database into a MSSQL server for further...
View ArticleHow to compress DB backup file with sql query
I backup my database with this query:USE DBNameGODECLARE @FileName VARCHAR(MAX)SET @FileName = 'C:\Backup\SQLDB\DBName_'+ REPLACE(CONVERT(varchar(10),getdate(),103),'/','') + '_' +...
View ArticlePerforming CAST on SQL query
Just started playing around with sql and I ran into a problem. I have a very simple query SELECT JobRecords.JobNumber, JobRecords.Color_Name, UnitCost*QtyUsed AS [Total Ink Cost per Line] FROM...
View ArticleSetting multiple values to a variable
Hey Spiceheads - Is it possible to use an IN operator or select statement when setting a variable? I need to add multiple ID's on line 5 where I am setting the @PT variable. TextIF...
View ArticleHelp creating deadlocks
I've read a lot about deadlocks on multiple other blogs, and I understand what they are and why they happen... yet I'm having trouble actually producing one myself. Even when I've attempted to follow...
View ArticleStoreEasy 1430 and VHDX format
Hi,Please, I have 3 questions:How can I create VHDX volumes with this model? This server comes with WSS 2012 Std.Any experience with the functionality / performance / stability of SQL 2008 (cluster 2...
View ArticleOpenfire setup on Windows server 2003 with SQL Exp 2005
I see this is the common issue with the setup. I can not get past the database settings. I get theA connection to the database could not be made. View the errormessage by opening the "\logs\error.log"...
View ArticleCOUNT in MSSQL
Hi all,I currently want to do a count on several different regions to see how many entries there are for each. However at this present moment, I am only able to do it one region at a time.For example...
View ArticleSQL Table Partitioning
I have a very large table of 96 Million rows and 144 columns.I identified one column in the table that I could use for the Partition Column... BILL_DATE (datetime). This value is always a date at...
View ArticleSQL Join creates duplicates
Hi,A very simple query I am sure, but one that has me stumped. Apologies for the poor explanation as I am new to SQL...I have 2 table of data as follows:...
View ArticleAlternatives for automating SQL Server agent notification
Database Journal has an interesting technical article on automating SQL Server agent notification. Being notified is certainly preferable to manually monitoring the history of SQL Server agent jobs.
View ArticleSQL 2005 Upgrade to SQL Express 2008
I've run into a bit of an issue while trying to upgrade SQL Express 2005 SP3 to SQL Express 2008 R2. It tells me the SQL 2008 R2 feature upgrade failed. Running the report advisor, it tells me the...
View ArticleSQL SSRS Issue
Hi there,I am having an issue as follows when compiling a report: -1) Data provided by a Third Party has dates supplied in the field data_claim.claimlossdate as VARCHAR. When I try to use this data...
View ArticleODBC connection to SQL Server 2012 failing
So we lost an old SQL Server 2000 database server today. I have managed to get the database restored to a virtual server we have running SQL Server 2012. Unfortunately as I'm trying to go through the...
View ArticleSQL Programs running slow 2008R2
I am running 2008R2 SQL on a windows 2008R2 Server. I am getting a lot of complaints that the software connecting to this system are running slow. Hardware looks normal on cpu and memory loads. Is...
View ArticleHadoop/Hortonworks Single Node Evaluation
We're currently evaluating other database engines outside of MSSQL (currently 2008 R2) for both compiling and querying; developers are at the stage where they want to utilize the existing SSIS/ETL...
View Article