all groups > sql server programming > june 2007 > threads for saturday june 30
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
Turning data into columns
Posted by Debbie Croft at 6/30/2007 9:46:15 PM
I have a database that has a table similar to the following:
ID Company Year Value
----------------------
1 CompanyA 1998 378
2 CompanyB 1998 45
3 CompanyC 1998 245
4 CompanyA 1999 754
5 CompanyB 1999 298
6 CompanyC 1999 7
7 CompanyA 2000 347
8 CompanyB 2000 ... more >>
multilpe where clause
Posted by rodchar at 6/30/2007 6:20:02 PM
hey all,
i'm trying to create a stored proc that has the following flexibility:
select * from employees
where firstname = "%searchclause%"
select * from employees
where lastname = "%searchclause%"
my first guess is to have a parameter indicating which field the user wants
to search and... more >>
conversion issue
Posted by rodchar at 6/30/2007 6:20:01 PM
hey all,
i have an ntext field that i want to convert to nvarchar(max) are there any
caveats?
thanks,
rodchar... more >>
Query for Set with Matching Column Values
Posted by Don Miller at 6/30/2007 12:32:46 PM
I can't seem to figure out a query from one table that will only return a
set of all rows that have an identical value for a particular column without
specifying that value. For example, the table definition would be like,
testTable
---------
testID (int)
valueID (int)
and would have th... more >>
Subsitute of Cursor syntex
Posted by coral.sourav NO[at]SPAM gmail.com at 6/30/2007 2:38:42 AM
Dear Friends,
Any one can tell me that What is the subsitute of Cursor.
As a Example :
I have a table like Customer, have two fields, one id and second is
Name
id Name
1 Peter Jackson
2 Bill Client
3 John Keaton
... more >>
help with query
Posted by a.ofaolain NO[at]SPAM gmail.com at 6/30/2007 12:49:04 AM
hope someone can help
i have a table a temp table that gets created on a daily basis and
can have between 10 -100 rows in it which looks like this
id starttime duration
1 10:00:00 600
2 10:10:00 300
3 11:33:00 15
etc
duration is in seconds
what i w... more >>
|