all groups > sql server programming > february 2005 >
You're in the

sql server programming

group:

sum multiple record and inset in one table


Re: sum multiple record and inset in one table --CELKO--
2/4/2005 3:43:42 PM
sql server programming:
[quoted text, click to view]
value and insert this result in other table like this: <<

Rows and records are TOTALLY different concepts. Since you did not use
plurals correctly in your English, can I assume you are Asian and
speak/write a language without them?

[quoted text, click to view]

Summation is a mathematical operation; adding words makes no sense.
Did you mean concatenation?

You will have to use a cursor to do the concantenation.

Please post DDL, so that people do not have to guess what the keys,
constraints, Declarative Referential Integrity, datatypes, etc. in your
schema are. Sample data is also a good idea, along with clear
specifications.
sum multiple record and inset in one table Owen
2/4/2005 7:26:04 PM
Hello:

I want to get multiple record from table and then sum all this value and
insert this result in other table like this:

have one table with Id, RecNo and text, one article have only one id and a
lot of RecNo, in each RecNo have a line of text. This is a old database. I
want to sum all this text and insert in other table this Id and the complete
text wihtout depend of recno and this separate lines.

Best Regards,
Owen.


Re: sum multiple record and inset in one table oj
2/4/2005 11:39:02 PM
See if it helps:
http://groups.google.co.uk/groups?q=sqlserver+oj+concat

--
-oj


[quoted text, click to view]

Re: sum multiple record and inset in one table Owen
2/5/2005 11:47:05 AM
Hello CELKO:

I don't have your luck to burn in one country that talk englist, but this
groud it's simple to use, i you can answer some thread you do, if not do
don't doit. But there's person that entertain get error to other people, and
you are one of this kind. My english it's really bad, but you understand
very well my idea, and instead answer my doubt, you criticize my english.

I hope you have accomplished doing that.

Owen.


[quoted text, click to view]

AddThis Social Bookmark Button