How to recover SQL server database from corrupt mdf file
Due to sudden power failure issues; one of my SQL server database seems to have problem. I have tried detaching and attaching it again but getting SQL server error message 5172. It looks like my...
View ArticleSQL Select * statements
In the never ending battle between developers and infrastructure on why things are slow, I came upon this quote "I've heard that if you do SELECT * the database needs to find out what fields are...
View ArticleSQL Stored procedure help needed
I have a stored procedure that adds a customer record and check for duplicates entries before adding the new record. The procedure check is on the name and surname fields.My goal is to prevent the same...
View ArticleSQL Server Agent Job running as user, cannot figure out how
Hello,I have a job that runs and in the history for that job it shows "Executed as user:< DOMAIN\serviceaccount>"However, I cannot figure out how this job is running as this user. It is not a...
View ArticleSQL query woes
So I have 3 tables: "Project" and "Expenses" and "Report"   What I need to do is insert into corresponding "report.id" row the sum of "expenses.AMT" based off "project.id" and "project.status" of...
View ArticleSQL Query Error - Conversion failed when converting the varchar value
Using Report builder and trying to "move" a dataset filter over to the dataset query in order to improve report performance."An error occurred while reading data from the query result set. Conversion...
View ArticleBids for a possible SQL export and convert to pdf job.
My company took over another company about three years ago and that company was using a hand built EHR/document product. The gentleman that worked for that company many years ago built this EMR on his...
View ArticleAlternative of DBCC CHECKDB
I am running DBCC CHECKDB on one of my database but its taking very very long time. I have some questions please help me.Is there any alternative of it that can check my database integrity?Should I...
View ArticleSQL 2012 Connection Timeout Expired
We have a backup database server that has lately been periodically hanging when attempting to setup database mirroring between our principal and mirror (backup). Â After digging a little further I've...
View ArticleScript for re-indexing SQL Database Tables
Are there any scripts out there that can re-index every table in a database?
View ArticleSQL 2005 Sp4 ;
SSIS package you try to run it and first try it fails to connect to FTP site:but on the second try it connects and finishes successfully: In the event viewer i see an error log:"Package "Package"...
View ArticleSQL Server backup & log file size
Hi All,I have an ERP in my organization having SQL Server 2012 as database, realised that log file is growing too large as our database is huge.Currently DB size is 150GBand log file size Is about 108...
View ArticleAmbiguous Column
Hello world!I am having an issue with joining two columns for a spiceworks sql report.Was wondering if I can get some...
View ArticleVeeam Application Aware / VSS SQL Corruption
We used Veeam 7 to clone three Windows 2003 SQL 2005 servers from our production environment to our test lab. The servers were not shut down for this process. We enabled the application-aware/vss...
View ArticleSQL Server 2014 SP1 Released - What do you need to know?
Service Pack 1 (SP1) for SQL Server 2014 was re-released today (the original release had bugs and was pulled the same day). See KB3058865 for more info.PLEASE NOTE: Due to this being a re-release of an...
View ArticleODBC headaches... Cannot talk to SQL Server
Hi AllI'm setting up a new domain/server/workstations for a client who is ditching their old Server 03/XP systems. Their main application is a custom Access database connected to SQL running on the...
View ArticleGetting data from a corrupt SQL table
I've got a SQL table that has become corrupt due to failed storage. I fixed the storage issue, but unfortunately the lastsuccessful backup is from two months ago. The backups were failing, but my...
View ArticleHelp making an incremental key field that auto-populates in Dynamcis GP 2013 R2
We are trying to use dexterity to make a fairly simple table with 4 fields that will not be linked to any existing tables and will be used for a fairly basic report one of the accountants uses.Our...
View ArticleSQL Server In-Memory
Guys, are you using SQL Server In-Memory feature? If yes was it a nice bonus for Enterprise or did you buy Enterprise because of In-Memory too?
View ArticleAdvice on two disk SSD configuration for local desktop SQL Express
We have a system that requires SQL Express to be locally installed on desktop PCs in remote sites. The PCs perform your general desktop/Office functions as well as writing to a highly transactional...
View Article