SQL bulk insert error
We recently stood up a SQL 2016 server. When we attempt to do bulk inserts we are getting the below error.Cannot bulk load because the file ERRYYYYxxxxxxxx.txt could not be opened. Operating system...
View ArticleHow can I Monitor a Providex Database?
Hi Everyone,I have been tasked with figuring out how to monitor a Providex database that we have underlying Sage 100. I need to be able to report on database changes by a user. I am trying out...
View ArticleChange Management Process
Can anyone point me to a generic high level Sql database driven change management template process / procedures that I can review?
View ArticleSQL on iSCSI with SSD Hotspots?
Hi,We are currently setting up a datawarehouse with SQL 2017 Std and SSIS. I tried to run it on my bulk-storage over iSCSI but the performance was too slow, so I went for the other extreme an put it on...
View ArticleSQL Remote DB backups
We have SQL server running at our corporate office, however what I am trying to get accomplished is having all the databases backup to our NAS located at our data center. The networks are connected...
View ArticleGroup SQL data into a single field
I have a list of orders with tracking numbers in a SQL table. I need to upload them into a single tracking number field in our orders database. I'm drawing a blank on how to get the results into a...
View Articlehow to best use a case when statement (if at all).
This is a bit of a continuation ofhttps://community.spiceworks.com/topic/2149315-returning-a-null-value-when-query-returns-nothing.Ok, so the code stands as seen below.select isnull (m1, 0) as m1,...
View ArticleSQL - Can I use a backup of a SQL datbase locally on a machine?
Hi Guys, I am new to SQL and trying to test some queries. I have a backup copy of our current database and would like a way to be able to execute queries against it on my local machine. Is there a...
View ArticleData Conversion Error, SQL
Msg 8114, Level 16, State 5, Line 1 Error converting data type varchar to numeric.Below is the code that I am using and the schema for the fields mentioned in the code. Some context behind this, I have...
View ArticleExport only schema and two item record from DB SQL
Hi guys, good morning I would need to export from a SQL Server database the whole structure including only 2 data records with item records for each table. Is it possible to do such a thing? Is it...
View ArticleBest Pratice: Set a Fixed Amount of Memory
I notice the last few days our SQL server 2008 R2 was using 23.5GB out of 24GB memory. The SQL server runs our ERP system. Users was getting very slow logins and slow generating reports or "Not...
View ArticleSQL export to Flat File is wrapping last field to next row
I have a table titled "dbo.equi". I am attempting to export it from SQL to a flat file (Tab delimited). The reason for the tab delimiter is that some of the fields have commas embedded in them (james,...
View ArticleMS SQL 2014 Server can't access backup file
I'm trying to restore a SQL database on MS SQL 2014 from a .bak file, but when I try I just get an error saying:"Cannot access the specified path or file on the server. Verify that you have the...
View Articleproblem with index
this is on a sql2016 server, and only happens in our unit test server, the other 2 are fine.this is the query:select c.PATH, v.Versionfrom [ZCOMP] c, [ZVER] v where c.DNUM = 711 and c.VID = v.VID and...
View ArticleHow to combine two views
Query;SELECT * FROM TOV_Component_Statuses UNION ALL SELECT * FROM TOV_TCU_Progress;ResultMsg 205, Level 16, State 1, Line 2All queries combined using a UNION, INTERSECT or EXCEPT operator must have...
View ArticleNetwork License sharing strategy
Hello Pros,So, I have 20 network licenses that need to be shared between 30 users, obviously once 20 users are in nobody else can use the software . I am wondering if other IT Pros have any strategies...
View ArticleSSIS DTExec 0Kb "Not a Valid Win32 Application"
Hey all,I've been trying to import data from Excel to our SQL database using SSIS. I was debugging the validation issues when the 32bit DTExec application became corrupted. It is now reading as 0Kb...
View ArticleTime format
Hi,I have a column in a table in SQL which contain Time duration like 02:30:00, now I have made a connection from Excel to SQL to fetch live data.Now on the Excel when I add the time it does not give...
View ArticleTCP / IP SQL configuration
Good day,Please help with the following.I currently have two instances, initially I had only one network card, but I added one more.I have configured the new IP of the second card in the TCP / IP...
View ArticleWindows Firewall blocking ODBC on remote computer
This is separate to another issue I raised earlier where I could not connect past the servers Firewall.I have put appropriate rules on the server for me to connect to it via ODBC.The issue i'm having...
View Article