Viewing 15 posts - 886 through 900 (of 13,465 total)
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...
June 28, 2016 at 2:40 pm
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,...
June 28, 2016 at 2:09 pm
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...
June 28, 2016 at 12:31 pm
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...
June 27, 2016 at 11:25 am
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,
...
June 24, 2016 at 12:59 pm
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...
June 24, 2016 at 12:03 pm
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...
June 23, 2016 at 10:05 am
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...
June 23, 2016 at 10:00 am
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,
...
June 23, 2016 at 7:45 am
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...
June 23, 2016 at 7:22 am
Welsh Corgi (6/21/2016)
SELECT * FROM ::fn_listExtendedProperty
(DEFAULT,'schema', 'dbo', 'table', 'Event', 'column',DEFAULT)
How do you list the...
June 21, 2016 at 11:35 am
dastagiri16 (6/20/2016)
i have initialised the subscription from backup.
Both the nodes are sync after completion of the setup but when i inserting...
June 20, 2016 at 12:26 pm
here's some of the things i could think of off the top of my head:
1. Is the query itself SARG-able?( search arguments in WHERE statements will use an index?)
look for...
June 20, 2016 at 8:43 am
without your table definition so we know what you are auditing, we cannot help much, but what you can do is simply insert into your audit table, from the sys.tables...
June 20, 2016 at 5:11 am
nilknarf (6/17/2016)
Trying create a column with leading code 12345 along with id number. 12345 999999999.
so, a string that happens to contain numbers then, since you included a space?
i...
June 17, 2016 at 6:45 am
Viewing 15 posts - 886 through 900 (of 13,465 total)