Forum Replies Created

Viewing 15 posts - 886 through 900 (of 13,469 total)

  • RE: Cluster is showing the Same drive a few times with "VerificationDisk010" appended to it.

    some more information, i see in the system event view errors referring to mount points being invalid: the network admin is not aware of any mount points being used, if...

  • RE: add minutes in datetime column

    here's a coded example.

    create table #MyExample(Id int identity(1,1) not null primary key,StartTime datetime, OriginalValue varchar(30) )

    INSERT INTO #MyExample(StartTime,OriginalValue)

    SELECT '1899-12-30 07:45:00.000','1899-12-30 07:45:00.000'

    SELECT DATEADD(minute,240,StartTime) As NewTime FROM #MyExample

    UPDATE...

  • RE: Notification Mail without SMTP

    i get the sense you might be new to both powershell and SMTP;

    think it through...you cannot use a feature without using the service behind it, so you must use...

  • RE: Notification Mail without SMTP

    SMTP is the only way to send mail.

    you don't have to use YOUR smtp server, you can send via a gmail account, yahoo, but it is not possible to send...

  • RE: Scrub Personal Information Data

    scrubbing data is really nothing more than an update statement, but you have to come up with a pattern for your updates.

    in my case, I've got a suite of tables...

  • RE: Dataset does not fire stored proc in report preview

    preview mode creates a cache file, and does not always call the server to get the data; if you look, you should see a rdl.data file, i believe.

    delete that file,...

  • RE: Can we just lock the schema rather a DB?

    i looked at sp_applock, and it would not give you any granularity at the object level.

    I'm not sure if the OP is just second guessing SQL locking, and is...

  • RE: Adding Advanced Features to SQL Express 2016 upgrade installation

    I believe that only Standard and Enterprise have paths for in-place upgrades;

    all other versions, like express, require an uninstall and re-install, i think.

    so you'll want to either do a side-by-side...

  • RE: Server RestartTime vs Service RestartTime

    answering my own question, by converting ms_ticks to seconds, i think i see what i was after:

    --ServerRestartTimeServiceRestartTimeServiceUpTimeInDays

    2015-08-22 21:46:51.9802016-03-29 08:34:07.89087

    -- select

    DATEADD(second, -1 * ( ms_ticks / 1000),getdate()) as ServerRestartTime,

    ...

  • RE: SSRS Distribute Report by Person/Report Bursting

    you are looking for a data driven subscription, which is an enterprise feature; are you using SQL enterprise or standard?

    the subscription can use a table or view to feed the...

  • RE: SQL Server 2014 cant add any windows accounts

    i believe the GUI will DEFAULT to use Local Users to the server, and you explicitly need to select domain. annoying, for sure.

    so if i search for mydomain\lowell, it...

  • RE: need help to join login and host name/application

    Tac11 (6/23/2016)


    How can I add login name PLUS Host name or application name on below query?

    Select *

    From sysobjects

    Where type =’P’

    and DateDiff(D,refdate,getdate()) < 7;

    here's a snippet i use for auditing...

  • RE: Need Help with SQL Query

    reading it again, since you want to hav eby month, the date logic needs to be int he group by also:

    Select

    br.Branchno,

    DATEADD(mm, DATEDIFF(mm,0,vw.viewdate), 0) As MonthViewed,

    ...

  • RE: Need Help with SQL Query

    here's my best guess.

    Select

    br.Branchno,

    DATEADD(mm, DATEDIFF(mm,0,vw.viewdate), 0) As MonthViewed,

    Count(*) As TotalViews

    FROM Branch

    INNER JOIN Registration rg ON br.Branchno = rg.Branchno

    INNER JOIN Client cl ON rg.Clientno...

  • RE: How do you list the Extended Events for the Table

    Welsh Corgi (6/21/2016)


    The following list the Extended Properties for each column in a table:

    SELECT * FROM ::fn_listExtendedProperty

    (DEFAULT,'schema', 'dbo', 'table', 'Event', 'column',DEFAULT)

    How do you list the...

Viewing 15 posts - 886 through 900 (of 13,469 total)