Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pssheba
  • Content: Threads
  • Order by date
  1. pssheba

    sql server 2000, locating double apearances of a record

    Hi ! My "Clients" table contains among others the following fields: "Name", "Address", "ID", "Phone". The Primary key is set to none of these. I'd like each client to show only once in that table but this doesnt happen. Some clients' names appear twice or more an so the phone, id etc.. i want to...
  2. pssheba

    sql servre 2000, ignorant's question: copy a table

    Hi ! a very basic question: I have a table in a database. I'd like to copy it to another database. how is it done ? [blush] Thanks !
  3. pssheba

    sql server, updating a table according to a second table

    Hi my table contains 10000 lines. my second table contains 8000. i want to update 1st table's column "present" based on second table. i a person i 1st exists in 2nd table, 1st's "present" will get 1, else = 0. the code should be like: select a.present, b.name from first as a full join second as...
  4. pssheba

    sql server 2000 date's arithmetics

    Hi ! i'd like to calculate clients' ages whereby using today's date minus "birthdate" colomnn. Code should look like: select today()-mytable.birthdate "Age" from mytable where today()-mytable.birthdate < 80 evidently "today()" is wrong. Could any one tell me which function shows the "now" date...
  5. pssheba

    word - template, how do i create a table

    Hi ! Could anyone explain me how a word template is made ? I want my template to have a table (or few) and a certain font size/color at each location of that table. Thanks a lot !
  6. pssheba

    sql server 2000, left join

    Seems i dont know how to use it. Hi ! I'm having 2 tables. The first one containes 2 rows which i get wherby importing a text file. It has all the information i need except Phone numbers. The other one contains 100000 rows and contains all the clients plus their telephones. I want to add table 1...
  7. pssheba

    EXCELL, an arrow next to a title, to select a citeria

    Hi ! I'd like someone to explain me something but i dont know what it is. An excel sheet is made of, say , 4 columns. Column 1 lists names of companies. Column 2: products. Column 3 location and 4th: price. Near the first cell of each column, there is an arrow situated next to the title...
  8. pssheba

    sql server 2000 i dont know &quot;datetime&quot; parameter's length

    Very shamefull indeed but i couldnt find it anywhere...[blush] My stored procedure's parameter are of "datetime" type and it starts with: CREATE PROCEDURE myProc @start_d datetime(8), @end_d datetime(8) The error i get is: I guess the length is wrong. Someone saves me from that ?
  9. pssheba

    sql server 2000 deleting a table

    Hi ! I delete a table using: drop table mytable If mytable exists then i get an error message. What should be the right code to delete a table if it exists ? Thanks !
  10. pssheba

    sql server 2000 group by

    Hi ! I'm searching a select statement to show my table in groups. Id like to show al members living in city: "a" and at the end of the list a number showing how many living in "A". Than city "B" and at the end the total of members. i wrote: select lastname, city, count(city) from mytable group...
  11. pssheba

    SQL SERVER 2000, basic question

    Hi ! i want to operate arithmetic calculations on varchar data types. How do i transform it into numeric ? Thanks.
  12. pssheba

    sql server 2000: an error message concerning &quot;filegroup&quot;

    Hi ! An error message is appearing while adding data to tables preventing them from inserting data. ERROR Could not allocate space for object 'MYTABLE' in database 'MYDB' because the 'PRIMARY' filegroup is full. Could any one explain me what "filegroup" stands for? how i can allocate more...
  13. pssheba

    select distinct (sql server 2000) afraid i dont know how to use

    Hi ! My table contains phone numbers. I want to show all the phone numbers but each number once only: select distinct phone from my phones but i get all the phones including few of each number. How do i write that distict to show me each number once only ? Phone number is not a primary key...
  14. pssheba

    sql server 2000, moving a record (line) from one table to another

    Hi ! Could any one tell me me please how do i make a copy of a line in a table, paste it to another table and then delete it from its old table ? Thanks !
  15. pssheba

    sql server 2000, writing a query where each key will show only once

    Hi ! My code is such as: select phone from myphones if some tel. numbers show more than once, i want it to appear once only. Is that possible ? Thanks !
  16. pssheba

    SQL SERVER 2000, inner join

    Hi ! I have a table with 2 columns: cola, colb. In cola i have alphabetic characters: "a", "b", "c"... and in colb i have digits: "1","2","3","4"... I'd like to display all the digits in colb that match a letter in cola : a 1, a 3, a 9.... one row per letter. Means, first row in my select query...
  17. pssheba

    sql server 2000, arithmetic operation on a varchar column

    Hi ! I imported a table from a text file and got a numeric column as a varchar. I need to process arithmetic operations on the numbers of that column but i get an error message saying that arithmetic operations on a varchar column are impossible. How can i transform a varchar digit into a...
  18. pssheba

    excel 2003 export data, is it possible ?

    Hi ! I only found "import" menu item... I'd like to have a text file containing the excel data. Could anyone tell me if it is possible to export excel 2003 data to a text file and how it is done ? Thanks !
  19. pssheba

    transfering data from &quot;Excel&quot; to SQL SERVER 2000

    is that possible ? Hopefully yes ! If this is the case, can anyone kindly show me how to do that ? Thanks a lot !
  20. pssheba

    sql server 2000 formatting date

    Hi ! I'm having a "dateTime" column in a table. In order to get rid of "time", I transform it to a Varchar and then read 10 first characters only. But now i need the date to be in the format of: "dd/mm/yyyy" rather then its' contemporary format which is: "mm/dd/yyyy". Could anyone tell me please...

Part and Inventory Search

Back
Top