return rs =0
Why this query return 0, when i loop the recorset in rs1.movenex the result is 8 Set QRY = DB.QueryDefs("ESTR_DATA") QRY.Parameters("DATA_FINE").Value = Format(Me.DAL, "MM/DD/YYYY") Set RS1 =...
View ArticleMake a qry output data by a field?
I have a database that tracks inspections. One of the options in the database allows me to forecast inspection requirements for each inspector. Another option allows me to pull up the forecast to see...
View ArticleSave MySQL query results into a text or CSV file
I found this topic from this link: Save MySQL query results into a text or CSV file | a Tech-Recipes Tutorial I am try to create the text file from query results but it didn't work and got this error:...
View ArticleVBA Passing Parameters to Saved Query, then call report
Good afternoon, I have a saved Access 2010 query that I use in a report. The query has one parameter entered in the criteria section: [Township] There are multiple townships that I need to gather in a...
View Articlesystem date in 3 formats
Hello, I came across one question where I have been asked to list the system dates in three different formats: I used the following two formats but I'm wondering what could be the third one? Format #1:...
View ArticleError in the usage of UNION operator.
I have following two tables(DEPT and EMP): Code: DEPT DEPTNO,DNAME,LOC EMP EMPNO, ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO I'm executing the following query: "Use a UNION to display department numbers...
View ArticleImport large XLS files (from Excel)
Hello all Started new tread on this xls importing as becoming a drawn out saga. Today cleared my desktop computer, reformated, fresh copy of XP pro installed with basic software needed (AV. Jzip Fox...
View ArticleBCP.exe in Sybase 15.2
Hi, Can any one please help me out in locating the BCP.exe file in Sybase 15.2. We have scripts written with bcp command in earlier version of Sybase but after upgradation , its showing bcp as command...
View ArticleBacking Up Open MS Access Database
Greetings all, I did a search, without success. I want to back an access database over the Internet using the CDO library. The CDO library seems to have no problem sending a copy of the database (about...
View ArticleSQL Schema Problem !
i have database and set default table schema to "ray" and me must input ruy.TABLE-NAME for retrive data !!! , i need set Default Schema to current user for call database as just database name(for my...
View ArticleRandom date selection
I have a mainframe / Db2 application, have a requirement to select random between two dates .i.e within a month, within a quarter..also it needs to select date between Monday thru Friday... Is there...
View ArticleSQL Schema Problem !
i have database and set default table schema to "ray" and me must input ruy.TABLE-NAME for retrive data !!! , i need set Default Schema to current user for call database as just database name(for my...
View Articleset default schema not working ??
i have a Database and tried to change one schema user id but dont work !!! when run command for chenging message have successfully ! but when run command "select * from table" dont work ! but when run...
View Articlewhy don't change my user ?
I log in into my sql program with xxx user but when run command "print User_name" , show result "dbo" !!!! why ?
View ArticleQuery to get details of DB objects..
Hi Folks Please assist me to make query to get the below resultset. 1) List of all the stored procedures in a database by name, with the number of lines of code for each Procedure. For example; sp_name...
View ArticleUser Authentication
Hello, In my company each user has an separate login role. I am trying to write an PostgreSQL function to verify entered username and password against login role username and password. I create a user...
View ArticleORA-01031 Insufficient privileges
When I try to create a view that including different tables I'm getting the following error: Error at Line 1: ORA-01031 Insufficient privileges. Could anyone tell me what could be the problem. I tried...
View ArticleLogin and receive information and insert it directly in my database.
How can I connect to the Internet and download data from code in the same way and get information and insert it directly in my database - also flip through its pages, search and insert material with a...
View ArticleObjects AND Relations
Hi everyone. I'm independent DBMS specialist from Russia. "Objects AND Relations" is my favorite theme for many years. If you google "impedance mismatch database" you'll possible find my paper...
View ArticleCreate a form to search and retrun multiple values
I have a table in which there are approximately 15k records. The name field has approximately 2500 unique values. I need to search the table for multiple names and return the results from the table....
View Article