Quantcast
Channel: VBForums - Database Development
Browsing all 2918 articles
Browse latest View live
↧

[RESOLVED] Dataset and Database do not match

I am having quite a problem running a combobox. Code:         cboManager.Enabled = False         cboManager.TabIndex = 1         cboManager.TabStop = False         cboManager.DataSource =...

View Article


[RESOLVED] How Do I Store XML (or Json) Data in DB (ex: SQLite3)

It was suggested in the VB6 forum to store my tool data in XML/JSON format in the DB. Unfortunately I was unable to get an example. Perhaps there is a link to an example? PROBLEM: I have a list of...

View Article


I did not know that SQL had a NUL: "disk device"

I just had to use this command to shrink a 350 GB log file! Code: BACKUP LOG  Acctfiles  TO DISK='NUL:' DBCC SHRINKFILE (  Acctfiles_Log, 1) NUL: - a null device. I feel like I'm back in my PDP/11 or...

View Article

[MySQL] Get Sum of Child Records

I have four tables: ticket, action, part, and vendor. Action, part, and vendor all have a non-nullable foreign key constraint to ticket. E.g. action.TicketId, part.TicketId, and vendor.TicketId. I need...

View Article

SQL Select sorting question

I have a case where I need to get a value for sorting that is based on values from more than one row and am not sure how to approach it. For the sake of simplicity lets say we have the fields ID, Item,...

View Article


[RESOLVED] SQL Select sorting question

I have a case where I need to get a value for sorting that is based on values from more than one row and am not sure how to approach it. For the sake of simplicity lets say we have the fields ID, Item,...

View Article

Where Is My Metadata?

I wrote something to update the extended properties metadata for a table in SQL Server (I forget the version, but something like 2017). To do this, I call the sp_AddExtendedProperty with these...

View Article

[RESOLVED] Question about select query when working with different tables.

I am working with a Foxpro backend using C# and ADO.Net I have a table that is outside of the database container. I have another table that is in a database container. I have two different connections...

View Article


Migration Ms Access DB -> MySQL

I am investigating a bit how I could migrate an Access Database (with arround 1 hundred of tables, and millions of rows) to a MySQL DB I can do it 1 table by 1 table in Ms Access (slow) and the schema...

View Article


[RESOLVED] Where Is My Metadata?

I wrote something to update the extended properties metadata for a table in SQL Server (I forget the version, but something like 2017). To do this, I call the sp_AddExtendedProperty with these...

View Article

[RESOLVED] SQL - Filter in ON-Clause vs. in WHERE-Clause

On a german forum i had a discussion with a very experienced user Let's take this SQL-Statement Code: SELECT T1.ID, T1.Field2, T2.ID, T2.OtherField2 FROM Table1 T1, Table2 T2 WHERE T1.ID=T2.ID AND...

View Article

SQL Database Structure updates

Hello, I'm here for suggestions on the best approach to deploy SQL database updates ( new tables, columns, etc..) to clients' local instances. I have a desktop .net application running on multiple...

View Article

strange behavior running .exe file from sql job

Hi. We have an SQL2008R2 and SQL2012 also on R2 we have a clustered server 2008R2 and on the 2012 a simple 2012server. Now the issue is this: Running and .exe from an sql job will succeed on 2012 but...

View Article


SQL Server - AND has higher precedence than OR

Hello. I am having difficulty trying to read this query to myself regarding what rows it's actually going to select/reject. We have a Trips table where a trip can be a certain status and a trip can be...

View Article

Image may be NSFW.
Clik here to view.

Import Data From Excel Into Mysql Using .Net

What i am trying to do here is to import data from an Excel file into a 'MAIN TRANSACTION TABLE' in Mysql database. I am using VB.Net or C# together with Mysql I know how to open the excel file and...

View Article


SQLite "Database is Locked" when moving a list of records from one table to...

I have a Public Sub to move a collection of records from one table to another in the same SQLite database. First it reads the first record from strFromTable, then writes it to strToTable, then deletes...

View Article

Create Local SQL Database Questions

Hi, I would like to create and use an SQL database but have many questions regarding this topic. How Do I Create The Local SQL Database File? I am working on a project where I have a datagridview and...

View Article


Image may be NSFW.
Clik here to view.

sql server query by parent and child rows

Hi, I am looking for help with a query I need to write. I have created a temp table with some sample data. There is a parent/child relationship which I need to use to group rows into sets. (I have the...

View Article

Image may be NSFW.
Clik here to view.

Query Obtain Value from Previous

Hi Guys, I have a table called tblPWTable. It has rates for County, and Effective Date. The rate I want is from a table called tblPWBenefits. It has County and Date Worked and Check Date. Either date...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] sql server query by parent and child rows

Hi, I am looking for help with a query I need to write. I have created a temp table with some sample data. There is a parent/child relationship which I need to use to group rows into sets. (I have the...

View Article
Browsing all 2918 articles
Browse latest View live


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