how to use multiple database for a single web application?
i am planning to develop a web application that is accessible from the internet. i want to have a web based application for apartment rent management system. so the application will register each...
View ArticlePattern matching for ASCII characters only
I'm trying to write a function that strips out all non-ASCII characters in a field when I select it, but I'm having trouble with the pattern matching. I've tried this (using the collation statement to...
View ArticleSIMPLE join and update
I use a simple sql join (only join tab1,fied1 to tab2.field2) to update a tab1.field3 with value of tab1,fied1... Is possible into the same sql string to insert in field3 the value "9999" if the...
View ArticleNeed help, open table, edit multiple records
Hi Guys, I'm converting a ADO Access db to an SQL Server DB, and have come to an issue. With Access, one can open a table and edit multiple records with the Seek method. But this is unavailable in SQL...
View ArticleCOMMANDCOM and recordcount
Code: ... Set CMD = New ADODB.Command With CMD Set .ActiveConnection = CN1 .CommandText = "QUERY0" .CommandType = adCmdStoredProc .Prepared = True Set RS =...
View ArticleHelp : WAMP MySql Import database
How to import more than 1GB Database? Need your help guys ASAP.
View ArticleFinding Sets
I have a table that looks like this: PK TraitID IdentifierID The PK can be ignored, as it is largely a throwaway. The purpose of the table is to associate one or more IdentifierID with a single...
View ArticleAnyone Please Help! Syntax error in UPDATE statement error
Just for the record Im not very good with programing but i try and do what i can. Anyway, Iv been stuck for two days trying to get rid of this "Syntax error in UPDATE statement error" message in my...
View Article[RESOLVED] SQL - Count Two Tables into Two Columns
Hi All, I am Using the following SQL code to Count on Two Tables to return results in two columns SQL Code: SELECT CAST(T1_1.Username AS nvarchar) AS Expr1, T1_1.PACKCOUNT, T2_1.TNTCOUNTFROM...
View ArticlePlease Help...MSSQL UPDATE using CSV file
Hi Guys, I am trying to update MSSQL table using multiple CSV files generated with random name by external source but stored in a same folder on server(local). I want to update server in an order in...
View ArticleMSSQL - Column data based on SQL QUERY
Hi All, I have the following query I am running MSSQL Code: SELECT TimeWorked.Username,CAST((SUM (datepart(hh, convert (nvarchar, ShelfTimeWorked, 108))) +(sum(datepart(mi, convert (nvarchar,...
View ArticleI have two tables: JobsAndTasks and JobsAndTasksHistory
I have two tables: JobsAndTasks and JobsAndTasksHistory The idea is that scheduled tasks and SQL jobs will be defined in a table called JobsAndTasks (this has already been completed). I want to select...
View ArticleIssue with finding records on a table direct
I'm converting an old VB6 program to use SQL Server from MS Access. In Jet we can use .Index and .Seek to find a record based on the primary key. With OpenTable .ActiveConnection = DB .Source =...
View ArticleUpdate from Dataset without original adaptor?
I'm playing with VB2010 express and MS SQLServer Express I've made a small app that uses a Module function to retrieve a dataset then I mess around and change some values in the dataset. Now I want to...
View Articlechange UNICODE COMPRESSION in field
I just have a filed named TEST(txt property) and UNICODE COMPRESSION is setting to Yes. I need to change this property in No. For test i have this sql: SQL = "ALTER TABLE [tab1] ALTER COLUMN STT...
View ArticleNeed SQL Statement (Distinct / Group by)
FIELD-NAME DATA-TYPE ID TEXT Reg_Type TEXT Fee NUMBER Date_From DATE/TIME Date_To DATE/TIME Remarks TEXT ------------------------------------ ID Reg_Type Fee Date_From Date_To 000001 000001 80 1/1/2001...
View ArticleDao x ado
Hi I begin to work in project , and de code are using DAO (database Oracle), long ago I do not use DAO I would like to change the source code, at least i new projects,but need to show arguments what...
View Articlemultitable query from dataset?
I've got multiple tables in a dataset and I'd like to fill a datagrid with data from all of them but the dataset has no select method and I'm not seeing any way to do what I want. For all I know it...
View ArticleDataTable not updating
I am using OLEDB in VB.NET 2013 to create an interface for an Access2010 database. All of my tables have autonumber primary keys. Each of my forms updates only one table at a time. Several of my forms...
View ArticleCreate a new SQL Server database problem
Hi, I am trying my hand at VB.NET by converting some of my old projects from C#. However, I have run into a problem trying to create the new database in Visual Studios 2008. I set to the "server name",...
View Article