Viewing 15 posts - 76 through 90 (of 497 total)
anthony.green (3/19/2012)
if CPU then you only need to purchase the amount of Enterprise licences which match the number of...
March 19, 2012 at 5:54 pm
anthony.green (3/19/2012)
March 19, 2012 at 2:26 am
saidapurs (2/7/2012)
How many tables you are truncating, like if you ave five table very large then export the data than delete from table subscribe it then...
February 7, 2012 at 11:15 pm
Worked this around by putting the script into the text file and running this from the job step:
c:\temp\DSM.ps1
Everything works now, but it would be interesting to find out how to...
January 12, 2012 at 8:19 pm
azdzn (1/12/2012)
param ( [string]$ComputerName = "." )
Get-WmiObject -computername "$ComputerName" Win32_LogicalDisk -filter "DriveType=3" | foreach {
add-member -in $_ -membertype noteproperty UsageDT $((Get-Date).ToString("yyyy-MM-dd"))
add-member -in $_ -membertype...
January 12, 2012 at 7:03 pm
Anyone? :unsure:
January 11, 2012 at 7:10 pm
azdzn (1/6/2012)
Change$Output = Get-WmiObject Win32_logicaldisk Format-Table DeviceId, MediaType, Size, FreeSpace -auto
to
$Output = Get-WmiObject Win32_logicaldisk | Format-Table DeviceId, MediaType, Size, FreeSpace -auto
It seems like this fixed the previous error,...
January 8, 2012 at 4:11 pm
It seems like this fixed the previous error, but when I try to put it into a job step, the job fails with this error message:
Unable to start execution of...
January 8, 2012 at 4:09 pm
Tried different things, coming closer now:
$serverName = "MyServer"
$databaseName = "DBMonitor"
$Connection = New-Object System.Data.SQLClient.SQLConnection
$Output = New-Object WMISearcher
$Connection.ConnectionString ="Server=$serverName;Database=$databaseName;trusted_connection=true;"
$Connection.Open()
$Command = New-Object...
January 5, 2012 at 12:08 am
Dev (11/16/2011)
The only thing is we are using replication, so I am not sure if filestreamed data can be replicated.
Yes you can but with some limitations.
Using FILESTREAM with...
November 16, 2011 at 5:17 pm
I was also thinking of using filestreaming to store the nvarchar(max) values on the file system. This should fix the memory issue, as the buffer cache is not used...
November 15, 2011 at 7:24 pm
Gianluca Sartori (11/15/2011)
Roust_m (11/14/2011)
They are going to put a lot of records with nvarchar(max) values into a table (around 3 million). The table will grow from 3GB to 300GB...
November 15, 2011 at 3:25 pm
Found the solution, if someone else would ever need it:
$timestamp = (get-date).AddDays(-1);
$timestamp = date $timestamp -format yyyy-MM-dd
$DBScriptFile = "\\MyServer\Scripts\MyDb\08_SPs " + $timestamp + ".sql"
Invoke-Sqlcmd -ServerInstance localhost -database...
November 2, 2011 at 7:22 pm
Found it out:
$timestamp = (get-date).AddDays(-1);
$timestamp = date $timestamp -format yyyy-MM-dd
November 2, 2011 at 7:21 pm
TZ.DBGeek (11/1/2011)
November 1, 2011 at 8:12 pm
Viewing 15 posts - 76 through 90 (of 497 total)