Forum Replies Created

Viewing 15 posts - 3,421 through 3,435 (of 5,111 total)

  • RE: Automate SQL Server Installations

    Perry Whittle - Monday, July 31, 2017 8:17 AM

    maybe make this a little more dynamic by querying the disks and obtaining...

  • RE: [BIT] where already [Date](when happened)]

    This is more of a "know your data" scenario. NULL values can themselves represent data, as such, but might not necessarily represent what the column represents.In this case, you have...

  • RE: Create a table from 2 different tables.

    Yes, but you'll need to supply NULL values for the columns that don't exist. So, in simple terms:
    WITH AllData AS (
      SELECT Title, Firstname, Surname,
      ...

  • RE: Allow 'everyone' to view a report

    If the user couldn't access the report, they would get a different error to that (permission denied). That sounds like the connection to the server isn't working, either because the...

  • RE: Showing statement using case clause

    Great that you provided sample DDL and DLM, however, without an expected output or your logic, we can't give you an answer. Also, you have CustomerType as a column, but...

  • RE: Automate SQL Server Installations

    John does raise a good point here. I might be wrong, but unless I recall incorrectly sqlcmd is shipped with SSMS not SQL server. And SSMS is not shipped with...

  • RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    How are you connecting to the other server? Is the datasource set to the other server, or is datasource the same as the SSRS server, and then the query run...

  • RE: Automate SQL Server Installations

    There isn't really much to the PoSh side of things. The main thing you need is to have the configuration file for your server available. That is very much unique...

  • RE: XML ordering column in pivot

    I'm really not sure what you're asking here, sorry. Could you elaborate further? Also, as I said, using your insert into your table #Final, it destroying any way to identify...

  • RE: How to find row(s) with the same value in a recordset

    I think this might be closer to what the OP is after:
    WITH Summary AS (
      SELECT O.OrderID,
        STUFF((SELECT ', ' + CAST(sq.OptionID AS varchar(6))...

  • RE: XML ordering column in pivot

    mxy - Friday, July 28, 2017 8:55 AM

    thanks thom, i dont want to store null values in the table,  may be if...

  • RE: XML ordering column in pivot

    The problem here is your table set up, you lose any relationships between your data when you insert it into your table. This uses your XML directly instead, but gets...

  • RE: XML Column

    I'm not 100%  sure what you want here, but you can query XML by using XQuery in T-SQL.

    Without any sample data, or expected output, there's...

  • RE: Identity Insert

    ringovski - Thursday, July 27, 2017 5:59 PM

    Thanks for the reply.
    Unfortunately your row_Number() returns the same as when I tried to use...

  • RE: Image string select in sql server table

    I believe, by "images" the OP actually means emoticons, which have a unicode value. These don't display well (at all?) if you're running Windows 7 or prior sometimes, as they...

Viewing 15 posts - 3,421 through 3,435 (of 5,111 total)