Forum Replies Created

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

  • Reply To: Document yourself out of a job

    I was working contract at a place where one person was the lynchpin to several projects.  He was a lead or manager and all of the facts needed to make...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: concatenate xml values in multiple rows into one row in SQL server 2012

    The contents of Text_Value does not look like xml
    Can you put this into text?

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Cross Database Permissions: SQL 2005 vs SQL 2016

    My recollection is that cross database ownership chaining was on by default in earlier versions of SQL Server and was off by default in later versions of SQL Server.  I...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: SSIS path - determining during execution

    I don't know if there is a better way yet.  But I found that I could query the catalog.executions view in an Execute SQL task:

    SELECT Folder_Name...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: SSIS OLE DB Data Source, Data access mode and views

    I can't say for sure, but I suspect that something is happening when SSIS queries the server for metadata.  Using a SQL Command you have provided the column names that...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: SSIS Export

    I was unable to reproduce the behavior in SQL Server 2016.  Before I dig into SSIS, can you answer a couple questions.  What version of SQL Server are you...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Edit a SQL Server Integration Services Script

    What specifically are you trying to do?  What happens when you try to change the file path that doesn't happen when you change the file name?

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Do you have DBA syndrome?

    I am a developer and have many times been frustrated at hard headed DBAs.

    But in the places where they have been the most intransigent, they are also the busiest. ...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Union in SQL query which create XML file

    You are looking at your problem backwards. You don't want to have a union of two rows of XML. You want xml of a union of two select...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Adding namespace to created XML file

    You would just need something like this:

    With XMLNamespaces ('namespace' as ns0)

    select col as [ns0:col]

    from tbl

    for xml path

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Adding namespace to created XML file

    Pro100 (5/19/2016)


    Isnt there any way to add it in my SQL procedure or c# script?

    Sorry, since you hadn't responded to my questions about putting it into the SQL, I assumed...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Adding namespace to created XML file

    Then it is time to learn XSLT.

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Adding namespace to created XML file

    Do you have a reason to use ns0 for the prefix? Are you sending data to a tool that does not use a proper XML parser?

    I have found it...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Adding namespace to created XML file

    A couple thoughts. Where does the XML come from? If it comes from SQL, it would be easy to change the FOR XML to output the namespace.

    I would...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Unique Indexes Are Code; Non-Unique Indexes Are Data

    aalcala (5/6/2016)


    I'm sorry, but I stopped reading when I read that non-unique indexes "... do not affect the database's behavior at all; they only affect its performance"

    That...

    Russel Loski, MCSE Business Intelligence, Data Platform

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