SQL on DC or Terminal Server
I've tried googling this but so far haven't found an answer to this particular question.When faced with the choice between installing SQL on the DC or a TS which would you choose?I know it's generally...
View ArticleUsing auto-increments to group data in a query
Morning chaps and chapettes,Just working on a bit of SQL to feed a crystal report, but I can't get it to behave the way I'd like.At the moment, I have this little...
View Articleinsert multiple image using openrowset
I am trying to insert multiple image using this query in database update BIOGRAPH_MASTER set UDEF_1A_1=(select bulkColumn from openrowset(bulk 'mdrive\jenzabar2\images\4359099.JPG',single_blob) as x)...
View ArticleSQL backup copy over network doesnt match original!
I am having a crazy issue with copying a SQL server backup file to network shares. THe backup is orignally created on a VMware 5.1 Vm Windows Server 2012 running SQL 2008R2 native backup to its local...
View ArticleHow to exract varbinary columns from sql
Hello,I have a a varbinary column 'RelatedData_img' in Database 'Reminderimage'. In that column i used to store word, excel files, images(png, bmp or jpg format) or text files etc. Now I want to store...
View ArticlePerforming Calculation of a column for a result which affects other tables colu
I have three tables to create. One of the table has a column that should calculate for a result which affect a single column of each of the other two tables. The three tables have schemas as...
View ArticleSQL solution
need help in solving this situationdeveloping a db and has reached the point of allowing two tables allow updates from each other. the transaction is done on one and the other is to be updated...
View ArticleSQL 2012 OLEDB error opening file from network folder
Hello, we have a SQL 2012 database server that recently had a new SQL 2014 instance installed. It seems as though after the 2014 instance was installed, a query that reads data from a file on a network...
View ArticleWhat is the difference between Backup and script with data
Hello,In Microsoft SQL server (2008 R2). There is a option to generate script with schema and data. I have observed that the size of script.sql is notably lesser than backup files. Whdifference between...
View ArticleHow to detach, rename and attach mdf and ldf files for a database in SQL
Hello,I am using Microsoft SQL server (2008 r2). I have requirement that need to detach a DB, then rename the old mdf and ldf files and attach the DB with new mdf and ldf files.I want to do those with...
View ArticleSQL DB data Compare
Hey guys. Any recommendations how to compare data between two DBs? I want to compare data between original and backed up DBs.thanks.
View ArticleMS SQL Server - Need to relocate to new site without downtime!
The current environment is being hosted on SQL Server 2008, and the space is about 100GB (and of course, thousands of DBs behind it.) It is a cluster of 4 servers, plus 4 web servers in front of them,...
View ArticleSQL Express upgrade 2005 to 2012 - install can't see I have SP4 installed
I'm trying to upgrade the version of SQL server on my backup server (Backup Exec 2010 SP3) from 2005 Express to 2012 Express. The install goes through the various checks and fails me for not having...
View ArticleSQL DB best backup scenario
Hey guys. What would be the best/optimal SQL DB backup scenario? I know it depends on lot of things and the best thing to have full backups, but lets say we have 3 GB DB, normal business hours and we...
View ArticleView Design Encryption
Hi there fellow Spiceheads,A quick question I am hoping someone will know the answer to:I am on a third party server about to set up some views. The problem is that I don't want anyone seeing the...
View ArticleSpeed up SQL server 2005 databse
Hi guys, one of my clients has a sql server 2005 express database running on a 2012r2 server, i am just looking at how we can speed up performance of this databse, the server has 10GB of memort and is...
View ArticleDetached DB Disappears!
Today I took a DB offline, detached it, and went to move the files to another location. The weird thing is that they're gone. The DB and logfile are just nowhere to be found. Would an event log show...
View ArticleExtract Varbinary data using bcp
I am using Microsoft SQL Server 2008 R2. I have a varbinary column RelatedData_img in the table Reminderimage. In that column I store Word, Excel files, images (png, bmp or jpg format) or text files...
View ArticleEstimate of hours to upgrade SQL 2012 rtm to SP3
Hello Spicers!Would any of you have an educated guess that you could share with me as to the number of hours it might take to upgrade SQL Server 2012 RTM to SP3?We just had a healthcheck done of our...
View Article