[RESOLVED] MySQL Extremely poor BLOB insert performance

1337 byte By namezero111111 at 2007-11-20 3:40:23
Hello MySQL/Database experts, I'm working on an application that uses MySQL as its storage engine. I'm SELECTing and INSERTing blob fields into the database. EDIT: I'm using CDatabase/CRecordSet with the 3.51 ODBC driver.Right now I'm using MyISAM tables, and my INSERT performanc...

display records for 1 week using pivot query? [MSSQL 2000]

739 byte By erickwidya at 2007-11-20 3:40:51
let say i have this value in my Table1Table1 = Date + EnteredNumber1/Dec/2006 | 23/Dec/2006 | 15/Dec/2006 | 37/Dec/2006 | 28/Dec/2006 | 29/Dec/2006 | 510/Dec/2006 | 1i want to display the Number per day for 1 week range starting from 1/Dec/2006 where First Day Of the Week is Sundayi'm able do t...

SQL Server - Reschedule a job from a stored procedure

750 byte By Ranthalion at 2007-11-20 3:41:56
Hi,How can I use a stored procedure to reschedule a job in SQL Server 2000?[Edited to using a product that exists!]I am using SQL Server 2000. I have a stored procedure that I call from a scheduled job. The stored procedure depends on several data updates being completed. Here is the example.Job:...

Calculations with null fields

896 byte By Scott.Macmaster at 2007-11-20 3:42:19
I have a query that basically looks like thisselect campus, labhours / 2 + lecturehours as creditsfrom tableswhere conditionsgroup by campusThe table that stores lecture and lab hours for each class stores the kind of hours and numbers of hours so there's are generally 2 records for classes wit...

[RESOLVED] "ORA-00903 : the table not found " is returned while accessing oracle

990 byte By suchuhui80 at 2007-11-20 3:48:58
"ORA-00903 : the table not found " is returned while accessing oracle database through ADO recordset .my code looks like this : // strSql is set as _T("select * from GDTEL_GROUP ") in advance ; // m_pConnection has been Open sucessfully in advance . // m_pConnection has the same privilege which...

mailing list: sql server 2000

363 byte By PsSheba at 2007-11-20 3:49:30
Hi !I'm new to this particular forum and i hope that this is the right place to ask:I have an email list. is there a way to send a message through an sql query to the whole list ?I have 1000 email addresses for examlple which i can display using a SQL query, can i send them all a message using...

store procedure , quite simple .

497 byte By suchuhui80 at 2007-11-20 3:51:10
CREATE OR REPLACE PROCEDURE GD_ENT_BPMS.TESTPROC ispGroupId varchar2(20) ; pResult varchar( 1024 ) output; // store the result need to return to caller. BEGIN select * from gdtel_group where GROUPID= pGroupId into pResult; END;The procedure written by me is wrong .My intention...

Renaming a Column Name

141 byte By qamarali at 2007-11-20 3:51:25
how to rename a column name of a table through sql command<br/>e.g column name is UserName and its changed to Name<br/>plz tell me

MS Access 2000 Query

1426 byte By Strumur at 2007-11-20 3:51:34
HelloI have a problem with a query for a MS Access Database (2000), hopefully someone can help me with solving it.What I want to do i fairly simple. I want to create a query for a report, based on the information that is entered into a form. Basically your average search form.In the query I have a I...

Working with Extended SP ( CLRSP )

260 byte By ppforpyxis at 2007-11-20 3:51:38
i am very new to extended stoared procedure.<br/>i want it to use to send multiple records to sp at once <br/>can any one Explain me what is the exact excution sequance of CLRSP<br/>is this method useful for my task <br/>Plz Help me. <br/>Its urgent.

msde 2005 (sql server)

147 byte By PsSheba at 2007-11-20 3:52:07
Any one knows where i can download it ?<br/>Is it compatible with msde 2000. Tables under MSDE can be transferred to MSDE 2005 ?<br/>Thanks a lot !

Joining the columns and displaying as the result....

1998 byte By dwurity at 2007-11-20 3:52:15
Hi all, I want to know whether my task can be accomplished using SQL Queries if not what are the other way I can do it.. My existing system is now retrieving all the records from various tables, and now I need to modify the existing query to retrieve the values as mentioned below(Result Record Set...

has anyone ever used Oracle - OraHome92 ?

189 byte By suchuhui80 at 2007-11-20 3:52:53
how to list the data-structure (table_structure ) of a talbe ?<br/>there are several application listed in the folder in program-files,which one can do that ? thanks ?<br/>not so difficult.

Creating triggers in SQL Server2000

241 byte By ravi_ranjan at 2007-11-20 3:52:56
Hi,<br/>My problem is that i want to create triggers on table located in different databases. Can any one help me out , "how to create a trigger from on database on to the tables in different databases.. " .If any doubt plz write back to me.

In Need of a regular expression.

483 byte By mmx_nexus at 2007-11-20 3:53:27
Hi,Can anyone please form a regualr expression pattern for the following..a) 2345 To 5432 - I want to search for all the numbers between 2345 and 5432 For example it should give me 4567 as a result if present.b)2345 To 5432 - 123* - I want to search for all numbers starting from 2345 and b...

Strange problem with delete

463 byte By jplindgren at 2007-11-20 3:53:46
Hi, i had been some a problem with the delete statement. When i try to delete X rows of a table in a transaction, it doesnt work properly, some rows arent deleted. Im working with one thread and concurrency.I tried before delete the same information with stored procedure and the same problem happene...

Remote connect to database

238 byte By dummyagain at 2007-11-20 3:54:27
My database is using SQL Server 2005 Express Edition and located in the office. I would like to know if it's possible for me to connect the office database directly from home so that i can do programming at home.<br/>Thank you.

sql server 2000, join on 2 columns

241 byte By PsSheba at 2007-11-20 3:55:19
Hi !<br/>A joint of 2 tables looks like:<br/>select *<br/>from<br/>t1 a join t2 b<br/>on t1.col1=t2.col1<br/> <br/>Trouble is i dont know how to make a joint on 2 columns. (col1+col2).<br/>Could anyone help me with that please ?<br/>Thanks !

sql server 2000, updating a table based on another table

449 byte By PsSheba at 2007-11-20 3:55:24
Hi !One of my tables lacks information that another table contains, telephone number for example.I'd like to update the column "Telephone" of table b wherby table a.in the code:select a.telephoneb.telephonefromt1 as a full join t2 as bona.id=b.id whenever t2 has an empty cell it should be updat...

send newest data from a local to a other database

381 byte By hansipet at 2007-11-20 3:56:20
Hello,I have in a network 2 databases. One holds all the data and the other (SQL 2005 Express) holds only an part of the data. But this local database holds also the newest data which is til now not in the remote database. What is the best way to send this data to the other database? on the local si...

Sql Server 2000 Group By

659 byte By PsSheba at 2007-11-20 3:56:28
Hi !I'm searching a select statement to show my table in groups.Id like to show all members living in city: "a" and at the end of the list a number showing how many living in "A".Then city "B" ..and at the end the total of members.i wrote:selectlastname,city,count(city)frommytablegroup by city...

Status of package SQL Server 2005 Express Edition after install is InstallFailed

702 byte By newvisva at 2007-11-20 3:58:11
I tired installing SQL server 2005 express in one pc n I got an error. Here is the log file--Installing using command line '"C:\DOCUME~1\Ken\LOCALS~1\Temp\VSD3A.tmp\SqlExpress\sqlexpr32.exe" -q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=someinstance SQLAUTOSTART=1 SECURITY...

Prevenet duplicate record

208 byte By dummyagain at 2007-11-20 3:59:31
I would like to know if it's possible to use one query to do insertion after checking there are no duplicate record ? If same record found, it will give up the insertion automatically?<br/>Thank you

[RESOLVED] the type of NUMBER (11) in database correspond to what type in vc or

922 byte By suchuhui80 at 2007-11-20 3:59:51
is it integer ? I assumed that it is integer but the code below can't work as my expectation.therefor I suspect that it doesn't correspond to integer in VB or c++,but what type of it exactly ? thanks . _ParameterPtr parGroupId ; _variant_t varGroupId ; _CommandPtr cmmd; HRESULT hr = cmm...

ADO Access MSACCESS via file name only

339 byte By jim enright at 2007-11-20 4:01:01
using vc++ from vs2005, using ADO, would like to openan ms access db using the fully qualified path and name of the .mdb file instead of using an ODBC alias.attempts to feed the file path to the connection string all fail.is this doable? if so would appreciate a sample connection string.thanks - j...

addrecordtoempty ms access dataset

532 byte By jim enright at 2007-11-20 4:03:21
i can do all the basic ops to an ms access table that has records in itthrough a vc7.0 gui interface (add, delete, save etc).adding a record to such a table basicaly isrecordsetptr->MoveLast();recordsetptr->AddNew(AddRecord);loop thru rec fields change values recordsetptr-Update(.,.);runn...

stored procedure of oracle to declare or even return a large string

589 byte By suchuhui80 at 2007-11-20 4:05:40
is it possible for stored procedure of oracle to declare or even return a large string whose length exceed 32767 ? Thanks. CREATE OR REPLACE PROCEDURE TESTPROC (strID in varchar2 , TestRet OUT pls_integer) isstrTemp varchar2 (32767) ; strTemp2 character (32767 ) ; // the variable is limitted withi...

[RESOLVED] PL/SQL:ORA-00984 : column is not allowed to be here .

27 byte By suchuhui80 at 2007-11-20 4:06:09
problem has been resolved .

is there any way to parse xml in stored procedure in oracle ?

83 byte By suchuhui80 at 2007-11-20 4:06:28
how ? is it hard to implement that ? if it was really hard I would try aother way .

autoincrement

369 byte By Taggi at 2007-11-20 4:08:18
Hallo!I am using a ACCESS datebase and try to create a table with an unique autoincrement column. I habe found many examples for SQLServer, but nor for ACCESS. Does any knows?CREATE TABLE myTable (ID integer default autoincrement primary key, name varchar(30))Does only works in SQLServer.Please... h...

Difficulty with uniqueidentifier

2623 byte By Scott.Macmaster at 2007-11-20 4:09:40
I have two tables that I'm accessing in order to do an insertPerson - PersonId uniqueidentifier - LastName varchar(50) - FirstName varchar(50)...andUserAccounts - PersonId uniqueidentifier - Username varchar(50) - Password varchar(50)I have some code that tries to insert a record in...

Query For a table using column name

86 byte By SVL at 2007-11-20 4:10:01
How to find the tables that uses the specific column name in the database (oracle 9i)?

Upgrade Berkeley DB from version 3.3.11 to 4.5.20

458 byte By funwithdolphin at 2007-11-20 4:12:28
We have upgraded our application from Berkeley DB sleepycat version3.3.11 to Berkeley DB sleepycat version 4.5.20.Following are the changes in Berkeley DB 4.5 release:The log file format changed in the Berkeley DB 4.5 release. No databaseformats changed in the Berkeley DB 4.5 release.So can anyone t...

use mssql PATINDEX this methods

597 byte By roger5089 at 2007-11-20 4:13:52
dear all i would like to ask someone who has that exprience to use PATINDEX in mssql ? if i want to use this function in microsoft access for that script , which can i use it to instead PATINDEX into access some example MSSQLGOSELECT DocumentID, PATINDEX('%reflector%', Title)AS POSITIONFR...

vb database

115 byte By anicomsolu at 2007-11-20 4:15:24
hi,<br/> I want to maintain all user details in single database. anybody tel me the answer.<br/> bY<br/>anitha

Help with writing a query

1294 byte By zulsidi at 2007-11-20 4:16:35
Hello,I need help figuring out how to write a query for the following condition. Any help will be appreciated. Here's the example:Table1Table1ID, FruitT11, AppleT12, BananaT13, PeachTable2Table1ID, ColorT11, RedT12 GreenT11, YellowT13, OrangeT12, YellowHow do I write a query in MS SQL as foll...

MySQL 4 query assistance

509 byte By CG Susan at 2007-11-20 4:18:21
Hi.I want to change the parameter of one field in my products table. The product's owner is currently listed as "master," and I want to change it to "Susan." I'm not sure what type of query I should use: SELECT, ALTER TABLE, CHANGE...?I've come up with this skeleton:SELECT ,master, fr...

Bulk Insert problem

946 byte By umararif at 2007-11-20 4:19:06
Hi DB Gurus,I am using SQL server 2000 and VB6 for my project. In its one module I have to import a raw data from a text file having row terminator = \n and field terminator = TAB. I am using following SQL to import data.BULK INSERT billing_master.dbo.test FROM 'c:\abc.dat'...

Copy from SQL 2005 express to SQL 2000

123 byte By dummyagain at 2007-11-20 4:21:13
I would like to know how to copy the database files (mdf) of SQL Server 2005 Express to SQL Server 2000.<br/>Thank you

Novice Oracle Question

560 byte By MonteyPython at 2007-11-20 4:21:45
I have a table in Oracle that lists a material, a date, and the inventory amount on that date. I want to create a query that brings back a list of materials where inventory has increased a certain percentage, lets say 100%, across two different dates, like yesterday and today. I'm using a thi...

MS SQL SERVER Queries/views with user input

467 byte By ddebecke at 2007-11-20 4:22:16
Hi, I would like to create some queries (actually, preferrably views) in ms sql server that allow for user input. The reason why I want this, is because I am trying to generate some reports about my data using excel (for example periodical reports, in which case I would have to give the queries a st...

Novice OLAP Question

497 byte By MonteyPython at 2007-11-20 4:24:00
I'm using MDX to query a database and I have a list of value I want to exclude. This would be similar to SQL equivilent of <> (not equal to) or not like. Can someone show me an example of how to syntax an exclusion? Here is a query sample showing some values I want to include:SELECT [M...

[RESOLVED] how does oracle deal or transfer large data ?

274 byte By suchuhui80 at 2007-11-20 4:25:19
I want to collect a huge string from a bunch of query result then send it to the client .<br/>use varchar2 can't suit my diamond ,the length of it is limitted within 32 * 1024 bytes. <br/>just offer me the rough direction , I would figure out the remaining <br/>thanks.

Access 2003 - counts on forms & filters

4035 byte By leon_prenter at 2007-11-20 4:26:59
Hi there,Hopefully someone out there can give me a hand even though my description of problem is quite vague.I am modifying a form in Access 2003 which has counts based on the number of items in each of 2 list boxes. These (invisible) list boxes each contain a subset of the data contained in a visi...

Excel: Hide column headers from ms sql server stored procedure

868 byte By ddebecke at 2007-11-20 4:29:52
Here I am again with another question related to producing reports in Excel by querying a ms sql database. The answer to my previous question was satisfying (thx Krzemo), so I hope that will also be the case for this next question ;-)I retrieve some information from the database by running a stored...

Oracle Developers

194 byte By karenjones at 2007-11-20 4:31:13
Hello,<br/>Can anybody tell me of a good website that provides information about oracle consulting? <br/>Someone recommended www.oracleplace.com. Any recommendations on this?<br/>karen

MS Access Forms question...

445 byte By gilly914 at 2007-11-20 4:32:26
Hey There,I just created a simple form in Access, that stores a list of items of some sort...something i needed to do for my work office...Anyway, I want to add a button to the form, that upon clicking, will export a Report of the list of items in storage (or some other kind of query) to a Word Docu...

PostgreSQL - cannot acces table

1306 byte By yiannakop at 2007-11-20 4:33:02
Hi everyone. I have installed postgreSQL version 8.1. I have created a table using the pgAdmin program under windows. The table is named Users. After that I use jsp and a bean in order to access the table. In the bean the code that does a simple sql query is: String SQuery = "select * from Use...

sql query problem

439 byte By bhushan_98 at 2007-11-20 4:34:41
Hi all, I want to get the result from sql query which fetch data case sensatively i.e.The Queries -1. select * from data where name = "Nancy"2. 1. select * from data where name = "NANCY"Both queries are fetching same data but i want the data seprately. means 'Nancy' should not fetch "NANC...

Drawing Register - Refining a report

6136 byte By HairyMonkeyMan at 2007-11-20 4:37:03
Greetings database gurus!I created a register that keeps track of drawings that are issued to subcontractors. Here are my table relationships: http://www.mnd.co.uk/mike/drawing-reg-relations.gif I even got my beloved drawing register to create the following report (1 page of about 8): http://www.mnd.c...