Forum Replies Created

Viewing 15 posts - 16 through 30 (of 54 total)

  • Reply To: Custom Header Row in Query Result

    Thanks for your tips. I am going to see if I can get something working with SSIS tomorrow or Friday.

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • Reply To: Custom Header Row in Query Result

    Jeff and Jeff -

    Currently, all the detail data is in one table that gets refreshed each month. I'm not terribly good with SSIS. I am just now figuring out how...

    • This reply was modified 5 years, 3 months ago by usererror. Reason: Clarity

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • Reply To: Custom Header Row in Query Result

    If I am understanding your question correctly:

    The main export data output is 85 columns. They must be delimited by the bar character per the recipient's requirements.  The end result should...

    • This reply was modified 5 years, 3 months ago by usererror. Reason: Visual Clean up

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • Reply To: Database Mail - Times out

    Thank you, I didn't see your post until just now, but I removed the SSL option and tested then with Ports 25 and 587 to send mail and that worked....

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Subqueries examples

    Jeff Moden - Monday, March 18, 2019 10:09 AM

    usererror - Monday, March 18, 2019 7:25 AM

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Subqueries examples

    This request also sounds odd to me. I'm also a newbie and I don't even know what to ask online until I encounter something new I can't figure out. Odd...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: datetime - with 01/01/1000 date

    Joe Torre - Wednesday, March 6, 2019 8:46 AM

    Use a staging table with the date column defined as varchar to load to...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: datetime - with 01/01/1000 date

    Well, I'm not quite there yet with SSIS to make changes to data as it imports. I'm at the point where I have the "basic" SSIS packages saved from the...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Select Top # with a Where Clause

    Thanks, I'm now starting to venture into areas where my beginner's knowledge is reaching its limits!

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Select Top # with a Where Clause

    Mike01 - Friday, January 11, 2019 12:13 PM

    One way is to use Row_Number

    select * from (
    select *, Row_number() over (partition...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Select Top # with a Where Clause

    Phil Parkin - Friday, January 11, 2019 11:25 AM

    So you want the top 20 for each different value of 'Approved'?

    Essentially, yes. The...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: What are some really dumb things you could write in a SQL Query

    1. I have a long way to go because I only understand the implications of some of these code posts.
    2. I wonder if any of my code would be...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Remember the Simple Things

    This read made my day. Love the comment about troubleshooting printers!

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Table with hyperlink

    Are you trying to copy query results from the SSMS Results Grid and then paste them into an excel workbook? Are you wanting the pasted results to retain the hyperlink...

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

  • RE: Server access

    I gather from your post that you would prefer to just connect with SSMS directly to your SQL Server(s). No jumping to another box via RDP as a 'middle ground'....

    -Mark
    MSSQL 2019 Standard, Azure Hosted. Techie/Sysadmin by trade; Three years as a "DBA" now.

Viewing 15 posts - 16 through 30 (of 54 total)