Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

  • Oops, something didn't work.

    Getting "follow" information
    Start following this thread
    Removing your "follow"
    Setting up your "follow"
  • Dodo said:
    qwert231 said:
    *snip*

    And I'm not sure why you posted this extremely small screenshot instead of copy'n'pasting the code as text. I tried text detection and sharpening filters on the image and still couldn't read it.
    DB_ID(N'IntranetApps')
    GO

    SELECT * FROM sys.dm_db_index_physical_stats
    (DB_ID(N'IntranetApps'), OBJECT_ID(N'...'), NULL, NULL, 'DETAILED')
    GO

    where ... is the name of an object in his database.

    qwert231, check out example C in DB_ID (Transact SQL) [MSDN].

  • Sven GrootSven Groot Don't worry... I'm a doctor.

    joechung said:
    Dodo said:
    *snip*
    DB_ID(N'IntranetApps')
    GO

    SELECT * FROM sys.dm_db_index_physical_stats
    (DB_ID(N'IntranetApps'), OBJECT_ID(N'...'), NULL, NULL, 'DETAILED')
    GO

    where ... is the name of an object in his database.

    qwert231, check out example C in DB_ID (Transact SQL) [MSDN].

    You can get SQL formatting like this: [ code language="SQL" ] code here [ /code ]
    Just remove the extra spaces around the [].

    EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it Tongue Out ), but apparently C9 isn't exposing it.

  • Tommy CarlierTommyCarlier Widen your gaze

    Sven Groot said:
    joechung said:
    *snip*
    You can get SQL formatting like this: [ code language="SQL" ] code here [ /code ]
    Just remove the extra spaces around the [].

    EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it Tongue Out ), but apparently C9 isn't exposing it.
    SELECT * FROM sys.databases
    Edit: it works when you put "sql" in lower case letters. Yay for case-sensitivity.

  • Tommy CarlierTommyCarlier Widen your gaze

    Sven Groot said:
    joechung said:
    *snip*
    You can get SQL formatting like this: [ code language="SQL" ] code here [ /code ]
    Just remove the extra spaces around the [].

    EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it Tongue Out ), but apparently C9 isn't exposing it.
    Duplicate.

  • Christian Liensbergerlittleguru <3 Seattle

    Dodo said:
    qwert231 said:
    *snip*

    And I'm not sure why you posted this extremely small screenshot instead of copy'n'pasting the code as text. I tried text detection and sharpening filters on the image and still couldn't read it.
    Yeah... he's a source of unanswered questions. And now we are at a question without a question Big Smile

  • Thread Closed

    This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
    or Contact Us and let us know.