Viewing 15 posts - 106 through 120 (of 1,192 total)
Try running it twice, once with format file and -F 2 (for the data), and once with no format file (or different format file) and -F 1 -L 1 for...
December 8, 2015 at 12:09 am
Beyond here https://msdn.microsoft.com/en-us/library/ms188659(v=sql.110).aspx, I don't think you can list fixed server role permissions from with SQL.
I suspect because fixed role permissions are checked slightly differently within some parts of SQL...
December 4, 2015 at 12:36 pm
([System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources()).ServerName
Although won't work if you need more fields from the output of GetDataSources()
December 4, 2015 at 12:10 pm
chuck.forbes (12/3/2015)
In actuality, I'm looking to gather some experiences on the differences between, for example, granting ...
December 4, 2015 at 11:46 am
sqldoubleg (12/3/2015)
Gazareth (12/3/2015)
December 4, 2015 at 4:39 am
Nice article, cheers. Might be worth making the point clear that it's an Enterprise Edition feature, so readers can avoid the crushing disappointment I experienced when trialing it on Standard...
December 3, 2015 at 8:42 am
Brandie Tarvin (12/2/2015)
Luis Cazares (12/2/2015)
Gazareth (12/2/2015)
jasona.work (12/2/2015)
Here's a way to maybe sort of settle the semi-colon discussion amongst the forum dwellers!
PAINTBALL!
Split into two teams, semi-colon as statement terminators vs semi-colons...
December 2, 2015 at 11:34 am
jasona.work (12/2/2015)
Here's a way to maybe sort of settle the semi-colon discussion amongst the forum dwellers!
PAINTBALL!
Split into two teams, semi-colon as statement terminators vs semi-colons OK at the start of...
December 2, 2015 at 10:44 am
Steve, your feet are conspicuously absent from the last photo. Bit chilly or so relaxed they're just buried in the snow?! 😛
November 17, 2015 at 12:04 pm
Hi Tim, from what you've described, all I can think that's happening is the application is checking the value of WSID in the connection string and comparing it to the...
November 13, 2015 at 8:56 am
This will return the first column from each query, regardless of name:
$FolderPath = 'C:\users\lyonsg\Documents\Scripts\Powershell\HelloWorldTest\'
#Loop through the .sql files and run them
foreach ($filename in get-childitem -path $FolderPath -filter "*.sql" | sort-object)...
November 13, 2015 at 6:45 am
The first execution is defining the output object - a column called 'You'. As the second execution doesn't match that output you don't see it in the results.
No alias or...
November 13, 2015 at 6:10 am
Great question Hugo & informative answers, cheers.
November 10, 2015 at 7:57 am
I answered 1,2, & 3 as I knew 1 and 2 would give syntax errors.
But then I was also thinking all of the above as you should also avoid not...
November 4, 2015 at 11:03 am
Nice question Hugo, cheers.
Got 3 out of 4, think it was the important 3 though!
November 2, 2015 at 6:09 am
Viewing 15 posts - 106 through 120 (of 1,192 total)