Viewing 15 posts - 7,246 through 7,260 (of 13,460 total)
yes. i think SQL Server Compact, but you can only use/access that database with a .NET or compact .NET on Windows Mobile;
if you are looking for something to sue...
June 30, 2011 at 7:04 am
either of these will do what you asked...they are functionally the same i think.
WHERE COLOR='RED' OR COLOR='GREEN'
WHERE COLOR IN('RED','GREEN')
now if you want where the product has BOTH, you have to...
June 30, 2011 at 6:53 am
also, using sys.columns is just an easy way to find a lot of items;
if you doi this:
--SQL 2005= 419
--SQL 2008= 483
select count(*) from model.sys.columns
that shows me that on my...
June 30, 2011 at 6:43 am
one of Jeffs other fine examples is creating a CTE Tally table that doesn't touch any existing tables, but creates it all on the fly;
there's not really much of a...
June 30, 2011 at 6:31 am
Nakul Vachhrajani (6/30/2011)
steveb. (6/30/2011)
Nakul Vachhrajani (6/30/2011)
June 30, 2011 at 6:24 am
i just noticed that and fixed it; copy my code example again...i edited it to be syntactically correct, but with that code block at the end slightly changed to have...
June 29, 2011 at 3:20 pm
ok correct me if i'm wrong, but the business logic is basically saying :
if this date is not null [do stuff]
ELSE
if this other date is not null [do stuff]
etc for...
June 29, 2011 at 2:58 pm
ok i thought Unicode is just chars 1 to 255, but as i started pushing the limits of my example below, I get all sorts of unique chinese characters.
is...
June 29, 2011 at 1:54 pm
ahh but you are missing the joins to the INSERTED table;
Every UPDATE in that trigger updates every row in the table with the current value calculated...NOT just for the row...
June 29, 2011 at 1:44 pm
wow there is so much wrong witht he trigger, i don't know where to start.
it's not designed for more than a single row, so that's one.
every update updates the entire...
June 29, 2011 at 12:27 pm
i doubt this helps much, but it was fun to look at;
i hate nested OR's and parenthesusi, i get dizzy trying to look through them.
can you compare this query to...
June 29, 2011 at 10:39 am
ok the more i look at this the more i get a glimmer of udnerstanding;
i think in that table two columsn represent theDate and TheTime.
CHDE = 1110627 --the date: 2011...
June 29, 2011 at 10:07 am
something else that struck me:
(A.CHDE > 1110627 AND A.CHDE < 1110628)
-- this is a Julian-ish date, century 111 month 06 day 27
--isn't that exactly the so someDatefield =1110627 instead?
(A.CHDE...
June 29, 2011 at 9:33 am
i had ideas like sturner to fiddle with, but i have no idea whether db2 supports some of the things i'd try.
for example, isntead of selecting the entire tables aliased...
June 29, 2011 at 9:20 am
dm_tapas (6/29/2011)
OKAY, But how.... Can you please describe briefly? I will be thankful to you.
What did you try?
did you try right clicking on SQL S3erver Managment Studio, selecting "run...
June 29, 2011 at 8:03 am
Viewing 15 posts - 7,246 through 7,260 (of 13,460 total)