SQL - Table Joining Tree/Structure
Hello to All,I am trying to create a report that requires me to join multiple tables, in a hierarchy/tree structure. I have attempted to use the Query Designer to build this join layout with no...
View ArticleMS-SQL Temp Tables
Hello All,I am researching "Temp Tables," as a fix to current "Table-Valued Functions." However my formal training with SQL was not very in-depth. I am mostly self-taught when it comes to SQL. All of...
View ArticleHow to make sqlcmd return an exit value other than 0 when the .sql script fails?
I'm running sqlcmd from a batch file and I was wondering how to make it return an ERRORLEVEL other than 0 when it fails.
View ArticleSSRS-Create a Serial Number based on a field in Database (2008R2)
Hello, I am looking for some advice as to what I would need to do or what I need to look at to create a new number based on existing field in a Database.My company wants to create Serial Numbers based...
View ArticleHP Whitepaper - SQL Server Maxdop = 1?
Hey folks,Part of our new kit involves a 3Par SAN/Array and HP blades so I've been reading up on best practices for SQL Server. Brent Ozar had a link to a technical whitepaper in his recent mailing...
View ArticleODBC Connection to sql server accross WAN
We have a sql server at a data center, and some client sites scattered around the city. All are connected to the data center through VPN routers. At site A, I can ping the sql server, but I cannot make...
View ArticleMS-SQL backup best practise
Need a little advice on SQL serversFirst off, I'm not the DB admin, I'm the Sys/storage admin. With regular frequency I get requests to increase the size of the log disk. Usually this happens when we...
View ArticleIncorrect syntax after SELECT CASE statement
Having an issue where the select case statement is causing the rest of the select statement to be invalid?? It says syntax error. What I am attempting to do is have another fields data be added to...
View ArticleSQL Server- adding additional server to same instance- Cluster?
I have a SQL server that requires more space. I am thinking about adding an additional server however I'd like to keep the same instance name for purposes of the existing apps that connect to it. What...
View ArticlePerformance benchmarking
I am attempting to find some generic performance benchmarking which will compare FoxPro to SQL Server (preferably SQLExpress but I am not sure if that matters). Trying to just get some independent 3rd...
View ArticleUsing SQL Server with ADFS on 2012 R2
Working on getting ADFS setup and in looking through the configuration options I can use the WID (Windows Internal Database) or MS SQL Server. We as a company have a couple SQL servers on hand and...
View ArticleSQL Server 2008R2 Log File is out of control! Can't Shrink...
Issues spawned off from a LOG file that grew to 20GB seemingly in no time at all. Disk space issues resolved in the meantime - but can't seem to shrink the log file.Older posts and references all say...
View ArticleSQL SSIS Question,
Hi,I have modified the dts (SSIS) package on the server and its working great when I run manually and its exporting the flat .CSV file fine, but when i run the Sql agent servet to exsecute the same...
View ArticleError when installing SQL SERVER 2008 STANDARD EDITION FOR SMALL BUSINESS
We are trying to install SQL SERVER 2008 STANDARD EDITION on Windows Server 2008 R2 then we encountered an error. Please see this screenshotAlready selected the Instance feature then next when the...
View ArticleSQL 2000 (yes I am still on this) & the curious case of the vanishing TempDB
Ok background...1. SQL 2K SP4 standard2. Windows 2K SP4 advanced, dedicated database server3. Virtualised with VMware vSphere 5.5 on a Dell Poweredege R420 (local storage)4. Couple of other low demand...
View ArticleSQL Job Issue.... help!
All,I seem to be having a little issue with SQL. The previous IT manager set up this method so i am not very familiar issue.We have a job that runs at 3AM every day that takes an exported CSV file from...
View ArticleUnable to browse for network SQL instances which reside on a different vlan
Is this by design? Is there a way around this?When I am browsing for servers in management studio in the Network servers tab, all it brings back are servers in the same vlan as the server when the...
View ArticleSQL CLR types for Report Viewer 2012
I'm trying to install SCOM and in order to do that I need to have SQL Report Viewer 2012 installed.When I'm trying to install this, I am prompted to install SLQ CLR Types for SQL Server 2012.i've...
View Articlesql 2008 copying a stored procedure
i know this is a newbie question but how do you copy a stored procedure in SQL 2008 i have a store procedure for validating a bar code and i want to add a new one with just the code it validates...
View ArticleMultiple filegroups necessary here?...
BACKGROUND: I will start off my saying that I'm not very experienced with performance tuning using filegroups. I understand how they work, but admittedly am not, for example, separating off my data and...
View Article