Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: New to VB with a basic database question

Started 1 month ago by jarbaker
I am new to VB with a basic database question. I want to create an Accounts Receiveable application for a friend and I want to know what database I should use. The app is for a small business (florist) and I am not sure which database would be best. Are there limitations regarding the number of records or database size? I don't want to select a database that will become a problem down the ...
Site: VBForums - Visual Basic and VB .NET Discussions and More!  VBForums - Visual Basic and VB .NET Discussions and More! - site profile
Forum: Database Development  Database Development - forum profile
Total authors: 197 authors
Total thread posts: 13 posts
Thread activity: 284 new posts during last week
Domain info for: vbforums.com

Other posts in this thread:

kevchadders replied 3 months, 1 week ago
Re: Dynamic SQL Try this. (Of course you will have to add a bit more SQL to read through your table, but this should get you started) Code: DECLARE @SQL as varchar(1000) DECLARE @operator AS CHAR(1) DECLARE @rate AS VARCHAR(10) SET @operator = '*' SET @rate ='12.3' SET @SQL = 'select 5000 ' + @operator + ' ' + ...

j0shua replied 3 months, 1 week ago
Re: Dynamic SQL thank you so much!

Pradeep1210 replied 3 months, 1 week ago
Re: [RESOLVED] Dynamic SQL sql Code: SELECT case @operator when '*' then 5000 * @rate when '+' then 5000 + @rate else 0 end AS OutputColumn FROM table_sql __________________ ...

RhinoBull replied 3 months, 1 week ago
Not sure about what you're asking... If you don't want your query results to include dups then use SELECT DISTINCT in your query. If you want to get all dups but also group them together then use GROUP BY or ORDER BY clause.

Robbo replied 3 months, 1 week ago
think ive solved import external data comma delimited, but change the columns with larger numbers over 16 to text rather than general and it seems to work

Psyrus replied 3 months, 1 week ago
I think the color tags were meant for the post and not included in the actual SQL. You may also have to format Test_Dt depending on what is stored there.

nepalbinod replied 3 months, 1 week ago
Hello, We have three tables here . MS SQL2k5 Table1 = [Bank_Guarantee] BG_ID [PK, Identity, Auto Increment 1] Name [nvarchar(50)] ... TABLE2 = [Secured_Deposits] SD_ID [PK, Identity, Auto Increment 1] AC_ID [FK OF ACCOUNT TABLE] AMOUNT [MONEY] TABLE 3 = [Bank_Guarantee_Secured_Deposits] ID [PK, Identity, Auto Increment 1] BG_ID [FK OF TABLE1] SD_ID [FK OF TABLE2] The ...

dee-u replied 3 months, 1 week ago
Why do you need a single query for this? You can wrap them up in a transaction so that if one fails the all fails.

nepalbinod replied 3 months, 1 week ago
Hello, I have a table similar to this, say Transaction Code: ID Date Dr Cr 1 1-1-2009 $5000 2 2-1-2009 $500 3 21-1-2009 $1500 4 25-1-2009 $100 I need to write a query that results a balance. Balance figure would be the previous balance summed with credit figure subtracted with debit. Example...

LingoOutsider replied 3 months, 1 week ago
MySql server "MyServer" has two tables TableOne [table name] firstname lastname [column name] bob bigs sue small phil hole [table content] TableTwo [table name] firstname lastname [column name] dick soloman sue small greg steel...

 

Top contributing authors

Name
Posts
si_the_geek
246
user's latest post:
[RESOLVED] VB6 & MYSQL...
Published (2009-12-10 06:31:00)
I'm glad you've got it sorted. Quote: My code is messy. Its tough to read and I should really comment my code way more. The amount of comments is not an issue, but the things you have commented are less than ideal. For example, the " Set rs1 " line does not need a comment (it is almost as quick to read+understand the line of code rather than the comment), and even more so for lines like .AddNew and .Update What you...
leinad31
80
user's latest post:
Strong typed SQL alternative to...
Published (2009-12-10 03:12:00)
Post sample of generated trigger
jmcilhinney
54
user's latest post:
[RESOLVED] Starting VB2008...
Published (2009-12-09 03:30:00)
SQL Server CE is not the right choice here. It's generally not intended for multi-user systems. SQL Server Express would probably do the job. Like I said, it has some limitations, e.g. 4 GB max size for databases, but if you don't have an issue with them then it's probably easier to administer than MySQL. MySQL will certainly do the job though, and would be a better choice if SQL Server Express' limitations are an issue.
techgnome
52
user's latest post:
Should I upgrade Access Database...
Published (2009-12-09 20:32:00)
Quote: Originally Posted by leinad31 That is only ONE aspect/purpose of pooling; due to request-response (web) environment where opening and closing connections will take too much time otherwise. Also, a single username in a client-server environment (just to justify use of pooling) means deployment of credentials with app; not my cup of tea. That's the point of pooling... the connection isn't actually closed on the server... it...
dee-u
50
user's latest post:
Strong typed SQL alternative to...
Published (2009-12-08 03:47:00)
Perhaps EXISTS?
abhijit
45
user's latest post:
Need SQL help..
Published (2009-12-09 17:11:00)
Quote: Originally Posted by stateofidleness awesome, looks like that one is working just fine! struggling with the second one on this part: Code: IsNull(COUNT(Student.Faculty_ID),0) Says invalid number of arguments. I deleted the 0 part and the query runs, but it creates a weird field name at the end populated with 0's. And there should only be 3 records in the resulting table, this shows 7.. so it seems like I need the opposite. For the...
brucevde
41
user's latest post:
Stored procedure little error
Published (2009-12-09 12:14:00)
You are passing 'camion' into the @TipAutomobil parameter and comparing that to tab3.IdTip. The error occurs there. What is the datatype of tab3.IdTip?
akhileshbc
38
user's latest post:
I ask library open file access 2000
Published (2009-12-02 05:08:00)
http://www.vbforums.com/showthread.php?t=337051#ado
igimanigi
32
user's latest post:
'bcp "EXEC...
Published (2009-12-02 11:20:00)
i mean the dates...can you not pass them as variable parameters ...i am sure there is a way without having to hard code them....i must say thanks for the construct works pretty well...i have tried it but now i just need it work with variables
luca90
24
user's latest post:
how to know if a filed is...
Published (2009-12-06 06:03:00)
Quote: Originally Posted by jmcilhinney VB6 or VB.NET? Which database? s i'm sorry... the language is VB6 and the database are access. but i need also an example for Sql Server Tks.

Related threads on "VBForums - Visual Basic and VB .NET Discussions and More!":

Related threads on other sites:

Thread profile page for "New to VB with a basic database question" on http://www.vbforums.com. This report page is a snippet summary view from a single thread "New to VB with a basic database question", located on the Message Board at http://www.vbforums.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity