Viewing 15 posts - 11,386 through 11,400 (of 18,923 total)
Prove him wrong :
Create a new job.
SET it to run in 1 min.
and use the net send notify after completion.
Disable the job and see how it does not run.
Good...
October 31, 2006 at 11:11 am
RUN dbcc updateusage(0) with no_infomsgs
CLOSE EM
OPEN EM
See the correct results
.
October 31, 2006 at 9:36 am
On a side note. The advantage of using a trigger for such validation is that you can return a custom error message. Something you couldn't do with the...
October 31, 2006 at 9:34 am
IF EXISTS (SELECT * FROM dbo.SysObjects WHERE XType = 'U' AND Name = 'tblDemo')
DROP TABLE dbo.tblDemo
GO
CREATE TABLE dbo.tblDemo
(
Sitefk INT NOT NULL
, ContentGroupID INT NOT NULL CONSTRAINT DF_tblDemo_ContentGroupID DEFAULT
October 31, 2006 at 9:32 am
Insert into dbo.YourTable (a,b,c)SELECT a.a, a.b, a.cFROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'c:\MSOffice\Access\Samples\northwind.mdb';'admin';'mypwd', Orders) AS a October 31, 2006 at 9:15 am
I can't confirm this and I have no place to test so I'll let others handle this one.
But as far as I know for a job to run, it must...
October 31, 2006 at 8:56 am
Lol... can't wait to see that
.
October 31, 2006 at 8:50 am
As I already said, the order of the results changed because the query plan changed, which itself changed most likely because of the index defrag you ran.
You can see the...
October 31, 2006 at 8:34 am
No, the agent won't run a disabled job.
October 31, 2006 at 8:16 am
I for one would like to have a link to that page
.
October 31, 2006 at 8:09 am
Check this out :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=285646
Also if and estimation is enough for you, you can use the sysindexes tables :
SELECT
O.Name
, MAX(i.rowcnt) AS RowCounts
October 31, 2006 at 7:19 am
How does this work if the Birthdate for the current year is already passed???
October 31, 2006 at 6:59 am
LMAOROTF.
Seriously, this is the kind of process you automate as much as possible, but in the end you always have to manually validate the results.
October 30, 2006 at 2:47 pm
SELECT Name
FROM dbo.SysObjects
WHERE XType = 'P'
AND Status >= 0
ORDER BY Name
October 30, 2006 at 2:26 pm
It should look something like this :
CREATE FUNCTION dbo.FnName (@param AS int)
RETURNS TABLE
AS
RETURN SELECT Col1, Col2 FROM dbo.TableName where ColA = @param
GO
SELECT * FROM dbo.FnName(8)
GO
October 30, 2006 at 12:39 pm
Viewing 15 posts - 11,386 through 11,400 (of 18,923 total)