Viewing 15 posts - 121 through 135 (of 149 total)
Charles,
You have mised two different methods of joins. You start out using the old method joins where you list the tables in the FROM clause and make the join...
August 21, 2003 at 12:06 pm
Frank,
Thanks for your reply. It seems that the Site Owners (The great people that they are) have added a new listing under My Accounts that should take care of...
August 19, 2003 at 1:32 pm
What about giving them permission to run a SP in the production database that runs the same scripts. I would also have in the SP a means of logging...
August 8, 2003 at 8:21 am
Frank,
The problem is that the only way I have found to get to your profile is through one of your threads that you either authored or replied to. This...
August 8, 2003 at 8:08 am
DECLARE @vcItem varchar(50), @dtStart datetime, @dtEnd datetime
SET @vcItem = <Item to Search For>
SET @dtStart = <Start DateTime>
SET @dtEnd = <End DateTime>
IF EXISTS (SELECT NULL FROM Orders WHERE Item = @vcITem...
August 7, 2003 at 9:38 am
There are numerous way to do this. The way I prefer is throught the use of derived tables.
CREATE PROCEDURE p_Get_YearlySalesByMonth (
@iYear int)
AS
SET NOCOUNT ON
SELECT...
August 4, 2003 at 2:53 pm
Have you tried setting the import up in a DTS package? I believe it is the fourth tab on the transformation object that allows you to set the IDENTITY_INSERT...
August 4, 2003 at 12:12 pm
You may have also max'ed out your virtual memory on your computer. I have experienced delays in SQL statements when I have many windows open but work fine when...
August 4, 2003 at 12:06 pm
Is the domain account used for the agent also a member in the Administrators NT Group on the server?
July 29, 2003 at 12:43 pm
Thanks everyone for your advice. The issue turn out to be some software from CA called ETrust (anti-virus software) that did an automatic update of its software on the...
July 25, 2003 at 8:47 am
Instead of using an inner join:
Select field1, field2 from table1 INNER JOIN table 2 on field1 = someid
Try using an outer join:
Select field1, field2 from table1 LEFT JOIN table 2...
July 23, 2003 at 1:29 pm
Assuming the cust_id = dup_code, why not do a simple select count of all matching records between the two tables
SELECT @Count = COUNT(t1.*)
FROM unique_cust t1 INNER JOIN unique_cust t2 ON...
July 23, 2003 at 9:04 am
mccork,
The tape backups finished at 10:30 pm. The database dumps start at 12:05 am.
This job has been running successfully for the past 4 months, and now it is failing...
July 23, 2003 at 8:39 am
try: sp_spaceused '<table name>'
I usually set this SP into a loop of each table I want info on and save the results to a temp table to be displayed.
...
July 17, 2003 at 9:57 am
I forgot to mention, in the ORDER BY clause, if you do not designate a sort order for a column, it will default to ascending (ASC).
June 26, 2003 at 12:30 pm
Viewing 15 posts - 121 through 135 (of 149 total)