Viewing 15 posts - 21,886 through 21,900 (of 26,490 total)
Yes, there are issues with the query itself, but what did the question ask? How do you ensure you get the top 25 in sales. The only answer...
March 19, 2009 at 11:13 am
Christopher Stobbs (3/19/2009)
here is an example of...
March 19, 2009 at 11:07 am
LGibson69 (3/19/2009)
March 19, 2009 at 11:02 am
Also, FOR EACH ROW is used in Oracle, not in Microsoft SQL Server.
March 19, 2009 at 10:53 am
I have to agree with Chris above.
March 19, 2009 at 10:49 am
What table and field is this date going into?
March 19, 2009 at 10:31 am
Will this work for you?
select left(datename(mm, getdate()), 3) + '-' + cast(datename(yyyy, getdate()) as char(4))
March 19, 2009 at 10:22 am
Here is some code you can work with on this.
declare @TestTab table (ColA int, ColB Varchar(10));
insert into @TestTab
select 1, 'John' union all
select 1, 'Josh' union all
select 1, 'Bob' union all
select...
March 19, 2009 at 9:54 am
Michael O Connor (3/19/2009)
Index_Name: PK_My_Table
Type: Non-Clustered
Cols: col1,col2,col3,col4,col5
Index_Name: IX_My_Table
Type: Clustered
Cols: col1,col2,col3,col4,col5
The PK_My_Table index is created as a result of the PK constraint...
March 19, 2009 at 9:46 am
Bob,
If you are processing incoming data, you may really want to look at the fuzzy lookup in SSIS. I used it quite a while ago in a now defunct...
March 19, 2009 at 9:40 am
Here is some test code for you to look at:
declare @D1 datetime,
@D2 datetime,
@diff int;
select...
March 19, 2009 at 8:59 am
More efficient, I believe so. Please look at my code I posted earlier.
March 19, 2009 at 7:21 am
foxjazz (3/18/2009)
Forget producttype..
lets say we just have partnumber, seq
and we want to insert a part...
March 18, 2009 at 11:31 pm
Sergiy (3/18/2009)
Bob Hovious (3/18/2009)
Jeff, I warned Fox he would hear about triangular joins one day.Let us get the man weaned off cursors first !! 😉
Guys,...
March 18, 2009 at 11:24 pm
Jeff Moden (3/18/2009)
Lynn Pettis (3/18/2009)
Chris Morris (3/18/2009)
foxjazz (3/18/2009)
{} is much better than BEGIN BEGIN BEGIN BEGIN END END END END
Heh quite possibly - but the count of BEGIN - END...
March 18, 2009 at 11:17 pm
Viewing 15 posts - 21,886 through 21,900 (of 26,490 total)