Viewing 15 posts - 27,211 through 27,225 (of 59,101 total)
clyde 73016 (3/18/2013)
Thx for the responses. I have the following data
SUB_DISTRICT ... LOCATION_TYPE ... Date
Paris ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2013 at 12:42 pm
raym85 (3/17/2013)
It can get a little tedious typing out all the months...Pivot is pretty Straight forward.
I agree. That's another reason why I don't use pivot. You have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 8:04 pm
Bhuvnesh (3/15/2013)
declare @max-2 int , @cnt intdeclare @t table (id int ,Company varchar(50),Site nvarchar(20),TransDate Datetime)
set @cnt =1
--select * from #TransDetail
select @max-2 = MAX(Number) from #TransDetail
while ( @max-2...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 7:31 pm
PIVOT in SQL Server is a virtual cripple compared to what it is in MS Access. It's also usually slower than some traditional methods. See the first article...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 6:31 pm
kiran.vaichalkar (3/17/2013)
1) Opening( OpenID, OpenName)
2) Resumes( ResumeID, CandidateID, LastDateOfUpdate,Resume)
3) ResumeAvailability(OpeningID, ResumeID) - (Derived Table)
4) Skills(SkillID, SkillName,SkillDuration)
5)...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 4:40 pm
paul.murray (3/17/2013)
I am from a small software company that sells products exclusively for the mining industry. We have decided as a business that we need to have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 4:16 pm
pooya1072 (3/17/2013)
ok...thanks
Wait a minute... if you take the time to explain the end goal, there might be a better way. We just don't know the end goal here well...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 4:12 pm
kapil_kk (3/16/2013)
I have solved it..... forget to initialize the IsBookelet variable value ;-):w00t:
I tried your code and even with the correction you posted, it does nothing because many of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 4:05 pm
I gree with Gail on the dynamic SQL part of this. Depending on what you're actually doing, I may agree with her on not doing. It really does...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 3:54 pm
I'd split the candidate out into a separate table and I'd have an interview header and detail table so that when you have more than one EmployeeID at the interview,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 3:38 pm
I actually do a restore from prod to UAT every night for two purposes. 1) Test the backup and 2) Keep the UAT database up to snuff. Yes......
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 3:32 pm
cljolly (3/16/2013)
I want to use Microsoft Snipping tool and do a quick copy and paste.
You'll have to tell me what you want to do when there are too many columns...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2013 at 2:35 pm
ScottPletcher (3/15/2013)
If OP does need to list the alternate supplier(s), then yes, I think...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2013 at 7:20 pm
I suppose you could take what was said two ways. I may have taken it the wrong way.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2013 at 8:01 am
I've made my living through both consistency and change. I've been an advocate of and have made my living by doing many things in T-SQL that some folks may...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2013 at 11:52 pm
Viewing 15 posts - 27,211 through 27,225 (of 59,101 total)