Forum Replies Created

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

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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,
      ...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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))...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • 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...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Report Builder connection issue

    crazy_new - Thursday, July 27, 2017 8:45 AM

    I have opened port 80 on the firewall. Is there anything else I should open?

    For...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

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