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

Insert into select, how about update select?

Since I got this insert into select to work, what it does is delete a record from bookdata table but preserve the record in unbookdata table. Unbookdata table has a column 'unId' which is the Id column...

View Article


[RESOLVED] Insert into select, how about update select?

Since I got this insert into select to work, what it does is delete a record from bookdata table but preserve the record in unbookdata table. Unbookdata table has a column 'unId' which is the Id column...

View Article


Enumerating SQL Server

I've got something going on, and am in need of some direction as to where to look. On my home network, there should be a few different instances of SQL Sever Express running. One of them is fairly...

View Article

find what cause a timeout

Hi I'm doing a .net ExecuteNonQueryAsync in my code and I get a timeout from the database on the exception. Is there a way to detect what caused the exception? Meaning what is blocking the call? I...

View Article

MySQL datetime formats and displaying different ways

Was wondering about current_timestamp in a datetime column Do you change the format of how datetime is inserted, or alter it while being read to look differently? If you do nothing, does windows...

View Article


[RESOLVED] Thought I improved performance, but I guess not?

Hi. I'm using SQL Server, I believe the version is 12.0. Front-end application is desktop windows C#. My boss wanted a couple columns added to a sql query then complained she thought they were slowing...

View Article

A UNION SQL query got me today.

Sorry in advance if it isn't appropriate to put this here. Say you have Select_Query_A UNION Select_Query_B I understood that if both queries returned the same row that only one would appear in the...

View Article

[RESOLVED] Prevent query execution in wrong Db

I would like to add a safeguard to stop me from accidently executing a query on a Db. I have two Dbs on the same instance, one for development and one for production. I sometimes use Transaction but I...

View Article


[RESOLVED] Problem in fields that are saved with no values

Hi to all: In my database i had define a few fields with the format "Date/time". When i save values in this fields sometimes they not have nothing, that mean blanc fields. Well, when i try to work with...

View Article


How to attach my Cloud driver in browser driver

How to attach my Cloud istance in browser driver?

View Article

Connection String to Access 2021

I use the VB6 and Earlier Forum a lot, but I could not get a good (working) answer to my issue. I have, on a Windows 11 computer (laptop), the MS Office 2021 Pro (which ships with MSAccess...

View Article

How can I use a delimiter to filter data from field then display as bullet...

I'm trying to learn some database coding after being away for a while. I never was great at it and now I'm really struggling... I'm using Visual Studio 2019 and SQLite, programming in VB. What I need...

View Article

SQL Server's hierarchyid and creating rows from the bottom up

I don't know if "from the bottom up" is the right description but I will explain. I have never used the hierarchyid datatype, so I am learning from this. We have a table of Units that are communication...

View Article


Help Optimize MySql Query

I hope this is the right category to post this question. I use Visual Basic 6 and MySql. Some queries are slow and the database doesn't have more than 1200 records yet. I make this simple query and it...

View Article

[RESOLVED] How can I use a delimiter to filter data from field then display...

I'm trying to learn some database coding after being away for a while. I never was great at it and now I'm really struggling... I'm using Visual Studio 2019 and SQLite, programming in VB. What I need...

View Article


Trigger for DELETED?

Hi. Mssql Just making sure I understand this correctly. I'm viewing a trigger created by someone else that reads: FOR INSERT, UPDATE And the I have this: -- only update if the password has actually...

View Article

how Invoke a Mudule

I have create my module VB SQL ADO.NET but now I want to invoke the module from a windows form Button Click What parameter I need to use to make the module work? Thank you So much

View Article


Master Detail data - display data in Master row only if same data all Detail...

I have a table in which I am creating m/d relationships between the rows. SubJobControl is the key. SubJobControlParent in detail rows will be that key when they are related master/detail rows. So...

View Article

(1) DataSet: Relations, (2) DataSet: Image Files

Using Visual Basic NET and SQLite I have two questions, the first one is as follows: I'm having some trouble structuring my DataSet. My database file contains 3 tables, 1 parent and 2 child tables. You...

View Article

[RESOLVED] (1) DataSet: Relations, (2) DataSet: Image Files

Using Visual Basic NET and SQLite I have two questions, the first one is as follows: I'm having some trouble structuring my DataSet. My database file contains 3 tables, 1 parent and 2 child tables. You...

View Article
Browsing all 2918 articles
Browse latest View live


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