all groups > sql server programming > august 2005 > threads for saturday august 20
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SQL Statement Help - Concatenate String
Posted by Craig Parsons at 8/20/2005 8:55:38 PM
Folks,
Hope someone can help me, in a bit of a muddle and trying to find the
most efficient solution! Basically I have a table which has two fields
(which I am interested in):
PersonID, Category.
1, A
1, CE
1, B
1, C
2, B
2, BE
What I basically want to do is return a si... more >>
SQL to synchronize two tables
Posted by Edgard L. Riba at 8/20/2005 4:12:52 PM
Hi,
This is probably a common requirement, but I need help in getting this
going.
I have a table declared as
CREATE TABLE iTransRow (
idLoc TINYINT NOT NULL,
idSeq INTEGER NOT NULL,
idLine INTEGER NOT NULL,
Item ... more >>
executing SP
Posted by simon at 8/20/2005 4:09:19 PM
I have stored procedure with parameters.
Can I exec stored procedure somehow with result set of select statement, for
example:
exec dbo.myProcedure (select par1,par2,par3 FROM myTable)
Or I must declare each parameter:
declare @par1 int,@par2 int,@par3 int
SELECT @par1= par1,@par2... more >>
can someone improve this
Posted by simon at 8/20/2005 12:18:04 PM
Case of study:
I have warehouse which stores items.
Wharehouse has defined different locations - location is represented with
locationID.
(location has also type and distance - that is the distance in
meters from start position, but this data is used just for order)
Each location has one or mo... more >>
owner advice
Posted by Keith G Hicks at 8/20/2005 9:07:52 AM
I'm not an expert so please be gentle if I say anyting incorrect in here.
Just looking for advice. Not any specific problem right now. I'm working on
a db that will be run independently in several offices. The owner of every
object is currently dbo. I move it (by doing backup and restore) between... more >>
self repair?
Posted by Keith G Hicks at 8/20/2005 8:51:07 AM
Someone mentioned to me that they heard about a self-repair feature that can
be set up in MS SQL 2k. I did some hunting in BOL, on the web and in these
NGs and didn't find anything. This person had a couple of power outages in
the middle of the work day and was concerned about possible problems w... more >>
Weired Problem
Posted by jsfromynr at 8/20/2005 4:22:12 AM
Hi All,
I am trying to insert rows from two tables which are having same
number of rows with similar schema (except constraints) so I mean two
tables One having constraints and another not having any constraints
(but they are having same rows).
Now I am trying this
insert into SomeTab... more >>
Like vs =
Posted by John at 8/20/2005 12:48:03 AM
Hi
Is there a major speed difference if WHERE col like 'abc%' is used against
WHERE col = 'abc' in a select statement in stored procedure?
Thanks
Regards
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|