Unable to establish connection to database....
I have no idea if this is really a SQL DB problem or not, but here goes...We have a SQL Server 2008 running on its own VM and several applications on other VMs that use it. Sometime last week (we're...
View ArticleSSIS Package : Calculate Output Filename
I've been able to learn a bit about SSIS in the last day or so. I'm having trouble figuring out how to make this SSIS package calculate the output filename though. I really just want a counter. I...
View ArticleSQL query to list records for today
Dear all,We have SQL table named Timetable with followingid day period room subject1 Monday 1 R101 Maths2 Monday 2 R103 Physics3 Monday 3 R111 Biology5 Monday 4 R102 Englishthen all...
View ArticleSQL Server Developer\DBA Training Books
Hi... I am after some recommendations on SQL books that will help improve my SQL developer skills and become a better DBA. Part of my job involves writing T-SQL, designing and creating MSSQL databases,...
View ArticleReport Builder export to Excel add comment to a field
I have researched several sites and cannot find an answer to this. I have a report built in SQL report builder 3.0 and want to have some notes about a field end up in Excel (if it is exported as Excel)...
View ArticleConvert UniqueIdentifier to Varchar
So I've got a uniqueidentifier in my DB, and I want to cram it into a 20 character text field. First off, why's the standard, when converting a UUID to text, to use 36 characters of space, when the...
View ArticleSQL Date Interpretation when connecting to Excel
Hi,It's been a while since I asked for some assistance!I have a query around some data that I currently have stored in a SQL View which I also want to expose in Excel (via a data connection). The...
View ArticleSQL 2012 Settings Set Back Default after Service Pack 2
Hey guys,Has Anyone ran into the issue where your SQL 2012 Memory Settings were changed back to default after installing Service Pack 2?
View ArticleSSRS 2008 Invoice Report - Repeat Group Header and Footer values
Hi,I have created an invoice report, which works OK if the invoice data only spans one page. If the invoice spans across more than one page then I would like to repeat the header and footer of the...
View ArticleReplication/Mirroring Question
Hello fellow SpiceHeads!!I was wondering if there is anyone who can help me on questions regarding Replication/Mirroring.I have a SQL 2008 r2 database which I essentially need to duplicate. Moving...
View ArticleSQL express 2012 setup 2nd SQL admin with windows authentication.
We are trying to figure out how to setup SQL express for students on some lab systems at the school. I installed it with my rights but students are having issue with rights because they aren't a super...
View ArticleSQL High availability options
I have an application that requires high availability. The app works as follows:1) Clients authenticate with an App server that uses a SQL database. Only the server accesses the SQL db, not the...
View ArticleSQL Database works faster for users at HQ than remote users
Hi guys,I apologize from the beginning: I am not a SQL person and this question might be too general and too vogue but if not here then where. right? :)We have aninternally-developed software that runs...
View ArticleUpgrade to SQL 2014 (side-by-side upgrade)
Hi,Firstly, thanks for reading this post. Also want to mention I am no SQL expert :) I am looking at upgrading our main SQL DB server. This server is running 2008 R2 Ent (10.50.2550.0). It has...
View ArticleSQL service nightly crash
Accidental DBA with, hopefully, an easy question.Almost every night we've had the MS SQL service crash on our DB host. I have the service set to restart automatically, which is great. Unfortunately,...
View Articlepos app based on mssql, backup of transactions
Customer has POS system based on MSSQL2012/2014. Asked me today how to make backup after each transaction. Transaction is mostly invoice to customer. Any smart ideas?Best,D
View ArticleSQL Always on
The script in below link is good but what happens if default and named instance exists on the server https://community.spiceworks.com/topic/784432-sql-2012-always-on-failback?page=1#entry-5502550
View ArticleSQL Server Standard Edition (Server/CAL) Licenses
Do I need a device/user CAL for SQL if I only acces the SQL instance from the same device where the SQL instance is installed? (It is a device to generate documents.)
View ArticleSQL Tickets by location question
I'm having trouble with an SQL report with code:SQLselecttickets.c_locationsas"Location",COUNT(tickets.c_locations)as"QTY"fromticketsgroupbytickets.c_locationsthe total of the tickets by "QTY" doesn't...
View ArticleSQL Data Masking \ Scrubbing Tool?
We receive SQL databases from our clients. The sample contain PII / PHI. I have been given the direction to find a good masking tool or scrubbing tool to remove PII/PHI but not affect my Analysts...
View Article