Viewing 15 posts - 12,031 through 12,045 (of 15,381 total)
The BEST way to get date formatting is in the front end. 😛
If you must use sql than use Lynn's approach.
May 9, 2012 at 8:44 am
You have different numeric sizes in two different columns.
It is probably failing in the where clause.
What is the datatypes for bondTrade.TradeID and IRPTrade.TradeID? I am guessing these are both numeric...
May 9, 2012 at 8:42 am
Eugene Elutin (5/9/2012)
Sean Lange (5/9/2012)
Phil Parkin (5/9/2012)
Sean Lange (5/8/2012)
With 526 points I would think you would know you should provide a bit more detail than this.--
Looks like 62 points...
May 9, 2012 at 8:23 am
Phil Parkin (5/9/2012)
Sean Lange (5/8/2012)
With 526 points I would think you would know you should provide a bit more detail than this.--
Looks like 62 points to me 😛
LOL I...
May 9, 2012 at 8:17 am
vinu512 (5/9/2012)
here is something that I worked up. Hope it helps:
--Creating Tables
Create Table Ex
(id int not null primary key Identity(1,1), ...
May 9, 2012 at 8:06 am
There could be a zillion reasons for timeout. The most common is poorly written sql. Does this happen for all your sql or just certain procedures?
May 9, 2012 at 8:01 am
Hi and welcome to SSC!!! Before anybody has a chance at helping you, you need to provide a mountain of more information. We need ddl, sample data and desired output...
May 9, 2012 at 7:57 am
Wow your project seems to be full of bad development choices. The column names too are painful. Do all the tables have a column named ID that is the primary...
May 9, 2012 at 7:54 am
Did my pseudocode above show you how to do this or do you still need help?
May 9, 2012 at 7:06 am
I think the main point of confusion is that you have two unrelated tables of information. From what you posted there is nothing to join these on.
select *
from tableA a
join...
May 8, 2012 at 3:33 pm
I would agree that you are over thinking this, but given the code you posted I think you need some help to resolve it. I will be happy to help...
May 8, 2012 at 3:29 pm
Wow that is a bit off of how case works in sql. You are trying to use it to capture a bunch of rows and columns all at once. It...
May 8, 2012 at 3:05 pm
With 526 points I would think you would know you should provide a bit more detail than this. This is totally a shot in the twilight.
update pjprojex
set rev_type = ''
from...
May 8, 2012 at 2:58 pm
johnny1walker (5/8/2012)
hi everyoneselect * from personnel
where salary > ALL (SELECT AVG (salary) from personnel group by bolno)
and how i find max average salary?
What is a max average salary? Do you...
May 8, 2012 at 2:32 pm
Steve Jones - SSC Editor (5/8/2012)
I assume most of you saw it, but for those that didn't, my wife quit her job[/url].
That is awesome Steve!!! I am very happy for...
May 8, 2012 at 2:11 pm
Viewing 15 posts - 12,031 through 12,045 (of 15,381 total)