Quantcast
Channel: Microsoft SQL Server
Browsing all 4871 articles
Browse latest View live

SP to iterate over multiple tables, writing piped results to temp table

Requirement - I have to extract a lot of data out of our ERP database for prospective customer SARs under GDPR.Assume the Temporary Table is something like the...

View Article


Question abouts Query vs. Insertion of data

Ok, this will be vague but here goes. I know what a query is. It is based on a SELECT statement. However, in general when I want to perform a calculation based on a select statement and have that...

View Article


How to write a query in SQL 2008 for last year same month comp numbers

I am looking for some help with writing a SQL query to return last years month to date sales numbers for a comparable to this year current months sales numbers.  I have tried everything and it is not...

View Article

SQL Studio hangs on "Executing" when changing backup model to simple

We need to change our SQL backup model to simple but when I do this through SQL Studio, it hangs on "executing" for hours. I have tried rebooting the server and when i try again, i get the same...

View Article

Bulk insert error: Bulk load: unexpected end of file

I am attempting a bulk insert of a fixed width text file. The text file is to be be broken up into 90 columns and each row is about 250 characters long. What I am looking for is a general explanation...

View Article


SQL server Express 2012 user limitation?

Hi, Is there any limitation on how many users can access to SQL server express editions? I think there is NO limits on users but I am not satisfied as I am not able to find any relevant document Thanks 

View Article

Core licensing vSphere 6.5

Is there a best way to plan for SQL only ESXi hosts. There are approx 65 sql machines workload is the same. No OLTP involved. Half are in 5.5 and half in 6.5 vSphere. Mix of SQL 2003, 2005, 2008 and...

View Article

Sage 300 / ACCPAC Application Slowness

At first this was thought to be a network issue, but seeing that Sage 300 takes ~10 seconds to get to the login screen on the server has me thinking it's a localized issue (My money is on SQL delaying...

View Article


Need to modify simple (existing) Transact-SQL SQL backup command

We manage a server for client A. Client A uses a product from Third Party B. We work with Third Party B, but they can occasionally be a little difficult to deal with.One problem with Party B is that we...

View Article


How to allow multiple users access to a SQL server

I have a SQL server that hosts an accounting software, I need to be able to allow up to three people to access the software at once, I am wondering what that would look like?Thanks, 

View Article

MS SQL backup error 0x80090006

Here is the following backup error that happens when SQL server does a Full Backup. Differential Backups work without issue. Any help with how to fix would be appreciated Here is the...

View Article

Export from VarBinary

Hi GuysPlease bear with me as I dont have very much SQL knowledge.I am trying to help out a friend who has a lot of .doc and .rtf files in a SQL DB in varbinary format.He wants to get the docs out but...

View Article

sp_send_dbmail issues

I seem to be having an issue with sending DB mail. I have successfully set up my profile and account, and the test email was received. However for some reason I can not get any mail to send using...

View Article


Conversion failed when converting the varchar value to data type int

Hello,Running out of ideas how to fix this case. I am getting  an error: Error converting data type varchar to numeric.      CASE         WHEN sopHdr.SOPTYPE = 4         THEN...

View Article

Conversion failed when converting date and/or time from character string

Have the code below but i am getting an error message. The error message is "Msg 241, Level 16, State 1, Line 2 conversion failed when converting date and/or time from character string.Can I get help...

View Article


Can I Make an Ad Hoc SQL Script That Utilizes CLR?

Our core software is an IIS/.net app with a SQL backend.  Every so often we need to copy that DB to our test environment.  I had a script that performs a number of functions, one of which is hashing a...

View Article

How best to deduplicate a table in SQL

I have a table in this instance titled industryimport. It is formed by using a merge statement and combining 8 other tables into one. I have failed to find a way to de-duplicate using union of the 8....

View Article


Cannot create sql instances using domain accounts

Hello there,I am new server analyst not familiar much with sql servers. I want to help our DBAs who are telling me that they are unable to create Solarwinds SQL DPA Database instances using domain...

View Article

RUN .dtsx package with config file

First let me start out by stating for security purposes, we can not have Linked (SQL servers-2008R2. We can not have access to use OPENQUERY or OPENROWSET.We can't have SSIS. We have 2 SQLServers with...

View Article

SQL Maintenance plan stopped backing up translogs

In the last month, I've moved a bunch of SQL Server maintenance plans over to a new server. Upon doing so, I've went into each maintenance plan and updated accordingly. All works well, except for the...

View Article
Browsing all 4871 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>