Viewing 13 posts - 1 through 13 (of 13 total)
I agree. I hardly ever use object explorer to find objects. It probably would be nice to have SQL Search, but I don't.
Instead, years ago I built a...
July 27, 2016 at 5:41 am
I'm sure there's other ways, but here's what first came to mind:
create table #Appointment (AppStartDate datetime, AppEndDate datetime)
insert into #Appointment values('1/1/2014 8:30am', '1/1/2014 9:45 am')
select
*,
floor((CONVERT(float, AppEndDate) - CONVERT(float, AppStartDate))...
April 11, 2014 at 5:58 pm
You can still use either suggestion above by feeding them a work table instead:
select Subject, sum(Mark) Mark
into table2
from table1
group by Subject
-- now you can use table2 wherever you saw...
April 11, 2014 at 10:01 am
This is terrible of me to butt in. Jeff can correct me...
"Why Refills table should not have CustId from customer table"
Indeed: On the Refill table, put PrescriptionID in and...
January 13, 2014 at 2:13 pm
Jeff or Paul:
I didn't see the source code for the CLR function. I also didn't read all 473 posts before mine, so maybe there's a link to it somewhere..
Paul,...
January 3, 2013 at 7:26 am
In line with that issue, are there tools out there to write Apect Oriented Procedures?
August 29, 2011 at 6:30 am
jddddd2,
Just happens for my case that if the row is different, the newest row is plastered onto the other copy. But you're right...if the requirements need to look at...
May 6, 2010 at 7:26 pm
So, the answer would be, "try reinstalling it". It worked the second time..go figure
July 13, 2009 at 9:21 pm
RBarry says "Varchars only store that space that you are actually using"
but
Jeffrey says "whatever size you allow is the size that is going to be used"
Could I have some clarification?
December 30, 2008 at 9:26 pm
Thanks.
I've meticulously tried to get my varchars to match what I expect the data to look like. I'll now just set everything to 8000 and save myself a few...
December 30, 2008 at 7:06 pm
In the case where there's no unique ID, I would think another option would be
select distinct * from Employee
into EmployeeCopy
Since I'm typing this before I've had coffee, it could be...
December 24, 2008 at 7:15 am
Viewing 13 posts - 1 through 13 (of 13 total)