Viewing 15 posts - 46 through 60 (of 125 total)
Try this.
ALTER VIEW dbo.vwEmp
AS
SELECT DISTINCT
isnull(E.Attempt,'A') AS Attempt
FROM tblEmp E WITH (NOLOCK)
October 6, 2004 at 7:29 am
Thanks for your response,
There are 200 tables, when i generate script i chose include primary and forien keys. Is there any way to find which one has create first by...
September 23, 2004 at 7:51 am
I don't remember the source of this code, i found some wehre and modified accroding to my requirments.
SET NOCOUNT ON
DECLARE @hr int
DECLARE @fsObject int
DECLARE @tfObject int
DECLARE @fname VARCHAR(30)
<--Declare to hold...
August 24, 2004 at 11:57 am
I was exactly looking for how to use (real world examples) sp_OA procedures.
July 23, 2004 at 10:32 am
Hi Brian ,
Would you please share the code.
July 21, 2004 at 8:58 am
Thank you very much. Which one is the best to take backups (logs, data)
Maintenance plan or t-sql
What are the advantages and disadvantges?.
July 14, 2004 at 5:28 pm
Thanks for your response. Our database is active 6:00 AM to 6:00 PM Monday to Friday some times on Saturday. My manager accepted to lose 15 min data. Our database...
July 14, 2004 at 2:23 pm
Thanks for your quick response.
I did like this
SELECT * FROM MyTemp
WHERE (USERID = 'MANAGER' OR ITEM <> 'BIKE')
Thanks again.
July 13, 2004 at 1:56 pm
Thanks for your quick reply. I heard that, Point in time recovery is possible, how that works.
And what type of failures can we expect?.
July 12, 2004 at 12:58 pm
Thanks for your response.
I want to read a table on page and store into table. Where can i get vb script and xml examples?.
Thanks again.
July 9, 2004 at 9:00 am
Thanks for your reply, i need just today count minus 10 days back count,
i did how you suggested it worked for me. Again thanks for your help on this.
June 15, 2004 at 8:51 am
Thanks Steve,
Is this works
SELECT A.DATE,A.CAR,A.TYPE,A.CNT,A.CNT - B.CNT
FROM
(SELECT MAX(DATE),CAR,TYPE,CNT FROM TABLEA GORUP BY CAR,TYPE,CNT) AS A
(SELECT CAR,TYPE,CNT FROM TABLEA WHERE DATE = CURRENT_TIMESTAMP -10) AS B
WHERE A.CAR = B.CAR AND A.TYPE...
June 14, 2004 at 3:29 pm
Okay, I got SRVR_A and SRVR_B, DB_A1, DB_A2 on SRVR_A and DB_B2 on SRVR_B.
With in DB_A1 some objects pointing to DB_A2 (Ex: SELECT * FROM DB_A2.DBO.TABLE1), Now i am planning...
June 2, 2004 at 12:29 pm
Go to registry -> under HKEY_CLASS_ROOT
you will see ADODB.Connection 2.5
ADODB.Connection 2.6
ADODB.Connection 2.7
If you see last 2.7 that means you got MDAC 2.7. I think there is a better way find...
May 25, 2004 at 4:56 pm
Dave,
It is a cool script, how can i generate script for jobs ,dts pacakges, uers, and also when we generate script for an object how can i include the...
May 25, 2004 at 8:03 am
Viewing 15 posts - 46 through 60 (of 125 total)