Viewing 15 posts - 181 through 195 (of 250 total)
What if I needed to use Wildcards in my OR conditions:
SELECT firstname, lastname from Teacher_data_main
WHERE
(Firstname like 'F%'
or
Firstname like 'B%'
or
Firstname like 'C%')
AND
Schoolnum = 371
Thanks!
CSDunn
February 27, 2004 at 10:35 am
Thanks for this input. I have seen this technique before, but I will document it this time.
CSDunn
February 27, 2004 at 10:03 am
Exactly. In this case, I took the records I intended to delete, and inserted them into a 'backup' table. Also, I worked through the senario working with the data in...
February 27, 2004 at 10:01 am
Thanks for your help! I had not used Delete in this way before, and so I took a look at BOL after performing the Delete.
CSDunn
February 26, 2004 at 4:07 pm
I was looking for and idea make a report in a client application work, but I have come up with another idea that will incorporate two cross-tab SQL Server reports that...
February 23, 2004 at 2:23 pm
IDENTITYCOL...That's what I was thinking of, and I was not able to find this in BOL. I was able to find it in the MS Press book 70-229.
Thanks for your...
February 19, 2004 at 10:38 am
Thanks for the link to further details on how to set this up. As it turns out, security on the objects in the Access database were not being enforced. I...
February 13, 2004 at 12:31 pm
'WITH VALUES' is what I was looking for! I had seen it before, but I could not locate this in BOL.
Thanks for your help!
CSDunn
January 21, 2004 at 12:25 pm
Thanks! As it turns out, I had tried setting the fields equal, but was using a 'DateEntered' field that was set up as a default of GETDATE() on the table...
January 12, 2004 at 1:43 pm
Never mind, I got it:
"TestScore" = 100 * SUM(CAST(TS.Score AS INT))/COUNT(TS.Score)
January 9, 2004 at 3:34 pm
quote:
I believe that select into is a non-logged operation.
I think SELECT INTO...
December 18, 2003 at 2:39 pm
quote:
When you use "(" in the FROM clause, you HAVE to ALIAS the inline view!!
December 4, 2003 at 9:43 am
quote:
SELECTGrade,
TestID,
Permnum,
QID,
CA,
SA,
QuestionNumber,
CASE WHEN SA=CA THEN 1 ELSE 0 END as VALID,
CASE WHEN SA IS NULL THEN 'B'
...
December 3, 2003 at 3:54 pm
Viewing 15 posts - 181 through 195 (of 250 total)