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

[RESOLVED] Access Inconsistency

I have this query that runs against an Access mdb database: Code: SELECT COUNT(*) FROM STRM_Survey_Waypoints WHERE SurveyID = '" & checkSurv.SurveyID.ToString & "'" There is little to say about...

View Article


Image may be NSFW.
Clik here to view.

Get rows till the sum() is equal to or greater than

I have a simple table. Here's an example If I want the most recent n records where PartNumber is P001. But I don't want all the rows. Just the most recent 10 parts. ie where the the sum of the...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Get rows till the sum() is equal to or greater than

I have a simple table. Here's an example If I want the most recent n records where PartNumber is P001. But I don't want all the rows. Just the most recent 10 parts. ie where the the sum of the...

View Article

Not sure how code this SQL statement?

The following statement doesn't return anything even though it executes successfully. I really don't even want to use all the variables but the one that I need is the @ordTotal because I'm using that...

View Article

[RESOLVED] Need Help with SQL Statement for SQLite table

The SQLite MemDB contains a TABLE (TPrices). It consists of ID (Int Prim Key), Date (ShortDate), Open (double), High (double), Low (double), Close (double), Volume (double), OI (double). These are...

View Article


[RESOLVED] SQL Server - Possible to split a string, sort both parts, and put...

Out of curiosity, I am wondering if it is possible to split a string into two parts, sort each of them, then put them back together, sorted? Example: A field in one of our tables is full of strings...

View Article

Corrupt SQL Server

I have a Surface Pro 2 (yeah, a 2, really) that I have both SQL Server 2012 and 2017 running on. I haven't used it in several months, but fired it up today to work on something. The program I was...

View Article

[RESOLVED] Corrupt SQL Server

I have a Surface Pro 2 (yeah, a 2, really) that I have both SQL Server 2012 and 2017 running on. I haven't used it in several months, but fired it up today to work on something. The program I was...

View Article


Error trying to ALTER TABLE in an Access database

I have a simple problem: I am trying to add a column to an existing table using the ALTER TABLE command. I pulled the code off the MS documentation: ALTER TABLE Notes_file ADD DateOfBirth date;...

View Article


Connection Goes Away

Here's the whole code, but then I'll focus on just a part: Code: If mCurrentEventID = e.EventInfo.EventID Then     Using cmd As SqlClient.SqlCommand = mERaiser.TransactionConnection.CreateCommand...

View Article

[RESOLVED] SQL Server - Is it possible to have a Job that creates Excel file...

I want to make sure i give my boss the right answer regarding an enhancement she wants. We currently have a sql job that runs weekly which sends an email which is the results of a query both in the...

View Article

Data Design Problem - Purpose to Save Chart tool information

I've watched a bunch of DB Design videos and while I'm able to follow along, I'm having trouble conceptualizing how it would apply to my needs. Current state: You load the app, select a price data file...

View Article

[RESOLVED] Unregistered Database

I am trying to setup an Access database to use with my application. I placed the database into the folder that I want to use it from. The VB project folder. When I run the application I get the...

View Article


Database for distribution with application

I have an SQL database that I built using SQL Server Express. I have an application for this database that I want to distribute. To do this, I want to locate the database in my project folder. I am...

View Article

[RESOLVED] Database for distribution with application

I have an SQL database that I built using SQL Server Express. I have an application for this database that I want to distribute. To do this, I want to locate the database in my project folder. I am...

View Article


[RESOLVED] Data Design Problem - Purpose to Save Chart tool information

I've watched a bunch of DB Design videos and while I'm able to follow along, I'm having trouble conceptualizing how it would apply to my needs. Current state: You load the app, select a price data file...

View Article

Image may be NSFW.
Clik here to view.

[DB Schema] Need input on a DB schema

Well, right when I thought I had it figured out, I've run into a DB design snag. DBName: ToolsDB Current Table: Charts I thought this table would be all I needed. It would hold the PORTFOLIO name that...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Query failure

The query, below runs but fails to yield results. The table referenced is sitPlanMaster, which is part of the Access PlanMaster database. The field colTask is structured as a text field, colDueDate a...

View Article

How to fetch maximum record from my table in mySql database

Hi. I've a table purchases which has the following fields: Code: purchase_id vendor_id fuel_type_id purchase_quantity_liters purchase_price_per_liter date_of_purchase is_deleted I want to fetch that...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] [DB Schema] Need input on a DB schema

Well, right when I thought I had it figured out, I've run into a DB design snag. DBName: ToolsDB Current Table: Charts I thought this table would be all I needed. It would hold the PORTFOLIO name that...

View Article
Browsing all 2918 articles
Browse latest View live