i’m trying to run SQl statment in batch job to alter Table CCSID to 420 but i have error Reason code 10 Hani
I am parsing an xml file that contains an xml url and a text file url as values. OpenXML appears to be unable to read neither the xml url nor the url to the text file. It reads the urls to pdf and html locations fine. How can I get the process to get the xml url [...]
I recently added a new table to an existing database. Data is entered into the db via a web front end, using PHP 5. I am not a php developer. Our developer is trying to build a search query against the new table (there is data in the table). From the page he is working [...]
I have data in one of my columns in a table that I would like to remove via a SQL update statement. In all cases, the data that I want to remove is the same 3 characters at the end of the varchar field. How would I structure the SQL statement?
I have three tables. Table One is a master table which contains rows which need to be updated with data from the other two tables (I’ll call them Table Two and Table Three). I have created a cursor which updates existing rows in Table One with data from Table Two. This works fine, and following [...]
I am trying to update a table and use a subquery for the argument. I think I have both queries correct but since but since they are from two tables I am not tying together correctly. Can you tell me what I need to do? update MVXJDTA.MITMAS set MMSTAT =’01′ where MVXJDTA.MITMAS.MMITNO = MVXJDTA.MITSTA.MHITNO (Select [...]
I have 2 tables, tanle1 and table2 Can someone help for SQL query for table3 with 2 colums colum 1 is select number from table1 for colum2 in table3 I need to get the total number of times each number in colum1 of table1 apears in in colums n1,n2,n3,n4 of all events in table2 as [...]
I have three tables as below: Table 1: attributes fields: attID, att_CategoryID, name Table 2: att_Category fields: att_CategoryID, name Table 3: prodcutAttributes fields: ID, productID, attID, I desigining this tables to be able to add multiple prodcut attributes for ecommerce site. I don’t know how good this design is. Anyways I need to find out [...]
Yes I am consultant for a small business, and currently they have a Access database that works pretty decently. At the current situation, the owner needs another database. I really do not want to have to ask the developer to keep creating different databases that includes him having to put more separate tables on the [...]
tablename:-software pname packagename cost MARY README 1200 ANAND PARACHUTES 6000 ANAND VIDEO TITLING 16000 JULIANA INVENTORY 3500 KAMALA PAYROLL PKG 20000 MARY FINANCIAL ACCT 85000 MARY CODE GENERATOR 20000 PATTRICK README 1200 QADIR BOMBS AWAY 3000 QADIR VACCINES 3100 RAMESH HOTEL MGMT 35000 RAMESH DEAD LEE 4500 REMITHA PC UTILITIES 5000 REMITHA TSR HELP PKG 6000 REVATHI [...]
How to delete all tables of a database in SQL Server?
Here is my query: select guestid, guestfname, guestlname from guest where tourid = 6; It says tourid is an invalid identifier. TourID is a defined attribute in a table called Tour. I’d be grateful for any help.
Hi, I have a table column named “Question” that stores the question without space.For example “Who are you” is stored as “whoareyou”.Now I have modified the code to store the data with spaces in Question column.Problem is newly added data will be stored with space,but I want to change the already existing thousands of records [...]
How to copy a table from an access database using sqlplus
Create table other_sess( s_name varchar2(10)); insert into other_sess values(‘s2007′); insert into other_sess values(‘s2009′); insert into other_sess values(‘s2009′); commit; now i want to write a PL to retrive data from these sessions (s2007, s2008, s2009). from my current session. declare mold_session varchar2(10); cursor c1 is select s_name from other_sess order by s_name; begin open C1; loop [...]
How to Update one table field with the help of more than one table
HI!!! how do I alter data in SQL Server table [select, insert and delete] using SSIS Visual Studio without using a T-SQL Script… please help me T_T…. Thx so much…
I have a table called course,and course_id is primary key in this table. I created another table subject.I mapped these 2 tables by course_id as foreign key,I created another table teacher,i want to map this with subject, only subject_id to teacher_id mapping is required,how i mapp this,can i use course_id?
I have an SQL table with a field that Crystal XI displays as string 300, call it mytable.mystring. If I create a formula field (myformula) such as… if {mytable.mystring} = “test value” then 1 else 2 This is what happens during execution… when the the preceding test is true, Crystal returns a value of 1 [...]
Here are the 3 simple SELECT queries i have but i want to merge them all into 1 singl query.





