Viewing 15 posts - 9,601 through 9,615 (of 13,461 total)
ColdCoffee is so right; giving us the tools to help you is critical. with 180 posts, I'm sure you've seen the request more than once.
as a freebie, here's the CREATE...
April 28, 2010 at 6:22 am
times are now in the millisecond range:
2 rows selected it took 0.002 seconds. ...
April 27, 2010 at 11:36 am
not sure how you handle checking in on hte same day someone else checks out; if i leave on 05/07/2009, someone else presumably could check in on the same date,...
April 27, 2010 at 11:34 am
awesome that you posted the table structure and sample data; it made my creation of a possible solution and testing so easy. thank you!!!
The only way i see is you...
April 27, 2010 at 11:22 am
anthony when i tested, i was getting sub-second query times around 0.700 secs or so according to your page;
i guess we could help more if we saw the actual query...
April 27, 2010 at 10:57 am
ally this might get you started:
i made this script a long time ago for SQL 2000, so it does not take schemas into consideration;
it makes the following assumptions:
the PK of...
April 27, 2010 at 10:50 am
just syntax...there is no IF<condition>THEN<statement>, only IF <condition><statement>
IF EXISTS (SELECT DATEPART(hh, scheduledtime)
FROM intakesource_daily
...
April 27, 2010 at 9:11 am
ok that helps explain the logic, thanks.
is there a master table that has value like this?:
1 Gary
2 Terry
3 Bob
so we could lookup/compare the proper name that...
April 27, 2010 at 6:34 am
not enough info;
you have a table with salaries, what does it contain? do you mean a base rate of pay? is it an hourly rate, so $10 dollars an...
April 27, 2010 at 5:57 am
terry you'll need to explain the "rules" a bit clearer. I'm not sure why a unique index on the two columns does not do what you want.
i'm just guessing, but...
April 27, 2010 at 5:44 am
I'm venturing a guess that you might not be familiar with creating a join on more than one column...like you said, it's intuitive if you had a unique column.
what might...
April 26, 2010 at 7:37 pm
skb 44459 (4/26/2010)
This will work just fine.But i would like to create the indexes as well.
The views will use the existing indexes that are already on the tables; no...
April 26, 2010 at 2:14 pm
i had a little trouble reading what you wanted, but i think i got it.
1. you want to create a view for every table in the database, but exclude one...
April 26, 2010 at 12:44 pm
but with Service Broker, you are sending emails and such, right? I thought the original poster was saying he wants a form to open up on everyone who is...
April 26, 2010 at 12:16 pm
David with luck this will get you oriented.
you need to open SQL Server Management Studio, and get the object explorer on the left side opened up; once you have that...
April 26, 2010 at 12:14 pm
Viewing 15 posts - 9,601 through 9,615 (of 13,461 total)