Viewing 15 posts - 151 through 165 (of 252 total)
Perfect! Thank you Jason.
September 15, 2011 at 6:01 pm
Thanks for replying. I have the SELECT worked out but I don't know how to write multiple rows to a variable and then create the foreachloop to handle each...
September 15, 2011 at 5:53 pm
Joie, using your example and the example on the web site, I came up with this working PowerShell script. Thanks again.
$ErrorActionPreference = "SilentlyContinue"
$Path = "E:\dba\powershell\online\report.txt"
If (Test-Path $Path) {Remove-Item $Path -recurse}
$date...
August 26, 2011 at 5:24 pm
That makes so much more sense now that I see it.
Thank you!
August 26, 2011 at 4:48 pm
I found this article which helped me accomplish what I wanted to do.
August 26, 2011 at 3:40 pm
Thanks for the suggestion. I have tried to work it into the script like this but my PowerShell skills are weak. Should the try be looking for any error...
August 26, 2011 at 1:58 pm
Thanks for responding. Unfortunately, changing the very top Static to RepeatOnNewPage = True does not cause my header row to repeat on new pages. When I advance to...
August 11, 2011 at 2:44 pm
Oh I see. I was missing the style 1 on the inner convert. Needed it for both. Thanks Paul!
edit: inner was missing, not outer
July 12, 2011 at 5:09 pm
Why do these give me different results? 0x80 has an even number of characters.
select CONVERT (bigint, convert(VARBINARY(20),'0x80') ,1)
select CONVERT (bigint, 0x80 ,1)
July 12, 2011 at 4:51 pm
Thanks Craig, the print of the @hexbin was how I figured out to add the 0. I did not realize the issue was odd vs. even numbers but that makes...
July 8, 2011 at 5:08 pm
Hi Craig, your example using style 1 worked perfectly in the other file. The new one I am working with is slightly different.
Here is my example:
...
July 8, 2011 at 4:48 pm
Yes, that worked perfectly. Very impressive MM.
May 19, 2011 at 12:28 pm
Some SQL Server versions have three decimal places like 8.00.2055 and some have four decimal places 10.50.1600.1.
Is padding the beginning or end of the short version numbers the best option?
May 19, 2011 at 12:14 pm
Thank you MM. This is very useful information.
I appriciate the help.
Howard
May 19, 2011 at 11:56 am
opc.three (5/11/2011)
May 11, 2011 at 9:52 am
Viewing 15 posts - 151 through 165 (of 252 total)