Forum Replies Created

Viewing 15 posts - 1 through 15 (of 43 total)

  • Reply To: SQL Server connection using Get-StoredCredential

    I went for the last solution in your post. I read them thoroughly, and this last solution turned out to work with minimal changes to my existing code. Thanks!!!

  • RE: DSN Tests successfully, but unable to use in C# application

    bmg002 - Thursday, July 13, 2017 3:18 PM

    When you say DSN, I am assuming this is an ODBC connection?  If so, those...

  • RE: Query optimization

    @HanShi, thanks for the link to the article. I think this may be it in my case, so I'll be reviewing this further.

  • RE: Causing a timeout error

    What if I create a transaction on the table and leave it uncommitted, will this cause a timeout in the script when trying to connect? If so, will this only...

  • RE: Database monitoring

    Ed Wagner (6/17/2016)


    Do you know the root cause of the failure? Knowing when it fails is one thing. Like Michael said the real goal should be finding the...

  • RE: Database monitoring

    Michael L John (6/16/2016)


    Not sure that I ever had a database server get a case of the hiccups!

    My opinion would be to find the root cause, and fix that. ...

  • RE: Database monitoring

    The connection failures seem like hiccups. So the idea for looping was to loop for some time, and finally exit and notify if it fails to make the connection. And...

  • RE: Remove newline in CSV field

    Jeff Moden (6/13/2016)


    By any chance, is the ultimate goal to import the data into a table in SQL Server?

    No. I'll be converting the CSV to XLSX for delivering reports.

  • RE: Remove newline in CSV field

    Good morning Guys,

    Thanks for your input. Federico's suggestion for using import-csv is what I ended up using. However, that adds a first line to the file that reads:

    #TYPE System.Management.Automation.PSCustomObject

    So in...

  • RE: Obtain Weather Data via API Call

    Some web development may be required. And/or maybe some local scripts to pull the data from the API. Here's one I found with a quick search on Bing: http://openweathermap.org/API.

    My personal...

  • RE: Storing encypted SSN's

    j-1064772 (5/4/2016)


    For "older" social security numbers, the range is LESS than the theoretical 1 billion numbers.

    According to Wikipedia, the US Social Security Number does NOT include a check digit dependent...

  • RE: Storing encypted SSN's

    Sergiy (5/1/2016)


    create table employee_id_mapping

    (

    employee_id bigint identity(1000000,1),

    By using bigint here you're gonna just waste the system resources.

    You may have 4 records in your database per every possible SSN number and still...

  • RE: Storing encypted SSN's

    Ok, if anyone here has the time and/or patience to review my final thoughts on this issue, here it is. I think this will be the final approach (please disregard...

  • RE: Query Result

    Is there something missing here? Is this an assignment? What're the guidelines for output? I'm not seeing a pattern in the output.

  • RE: Storing encypted SSN's

    Sergiy (4/28/2016)


    http://opendata.stackexchange.com/questions/5595/how-should-us-ssn-be-anonimized

    Since SSN has only 9 digits, changing hash function will not suffice because attacker can simply apply the function to all 10^9 SSN's and match the result against the...

Viewing 15 posts - 1 through 15 (of 43 total)