Forum Replies Created

Viewing 15 posts - 181 through 195 (of 322 total)

  • RE: Are the posted questions getting worse?

    There is usually a small panel on the bottom which can be opened to access the RAM slot(s)

    With the right size screw driver its as quick as swapping RAM on...

  • RE: CHARINDEX counting problem

    Beaten to it!

    Thats what I get for testing the code 😛

  • RE: CHARINDEX counting problem

    Your missing another +7

    declare @string varchar(1000)

    SET @string = 'BladieblaDiebladi bladibla blabla, View = AnyViewName_without_a_space Export to ADirectory wher spaces can occur\Filename.csv'

    SELECT charindex('view = ',@string) AS result1,

    ...

  • RE: SELECT ... AS NewName question

    FreeHansje (5/13/2009)


    Interesting...

    Maybe I should take a serious look at your solution.

    Tnx again.

    For your future reference:

    You never know untill you try! 😉

    I had a situation a couple of weeks ago where...

  • RE: if/else statement inTSQL

    if this is true

    And for some value of my attributs ,it can be true in more than 1 case.

    Then this cannot be the case

    when i change the order of the...

  • RE: SELECT ... AS NewName question

    Out of curiosity I just checked it on a 30 million row table

    Result 1 - without a derived table

    CpuMsLogRdsElapsed

    80159430078641

    Result 2 - with a derived table

    CpuMsLogRdsElapsed

    7766946009777

  • RE: SELECT ... AS NewName question

    Run a few tests on it 🙂

    Use this code from RBarryYoung as a test wrapper:

    Set NoCount On

    Declare @cpu_ int

    Declare @lreads_ int

    Declare @eMsec_ int

    Select @cpu_ = cpu_time

    , @lreads_ = logical_reads

    ,...

  • RE: if/else statement inTSQL

    nothing wrong with the syntax of your case statement

    One thing to note though, a Case Statement will stop as soon as it hits a condition which is true, so...

  • RE: SELECT ... AS NewName question

    won't work like that

    you can use

    select * from

    (

    SELECT (firstname + ' ' + LastName) AS FullName) as derivedtable

    WHERE derivedtable.FullName like '%Dalton%'

    This works by returning a data set with the...

  • RE: Getting combined data from two databases

    i'm not sure about why its getting that collation.

    You can specify the collation of a column though

    select MyColumn collate [collation name] as MyColumnAlias

    from MyTable

    The same thing works in joins

    from TableA...

  • RE: Getting combined data from two databases

    htilburgs (5/13/2009)


    Ok... I've created the linked server.

    But when I've query both of my databases, I get the error:

    The multi-part identifier "[am1-sqls03a\sqls03a].Topdesk.dbo.vestiging.debiteurennummer" could not be bound.

    you need to alias it

    select *...

  • RE: Are the posted questions getting worse?

    I've got a Dell Precision 15" 2 years ago with:

    2.2Ghz dual core intel processor

    2GB Ram

    250Gig hard drive

    NVIDIA Quadro FX 370M 256MB - good enough to allow some gaming entertainment when...

  • RE: Problems with a simple CAST statement

    The first isn't a valid time string

    use this instead:

    SELECT dateadd(hh, 2, CAST('1976-12-14T00:00:00' as datetime))

  • RE: CALL PHONE from SQL Stored PROC/ Alerts

    You can use Skype - they provide an API for windows development

    You'll need some way of interfacing from your stored procedure to the Skype API, probably by way of an...

  • RE: Connecting from sqlserver 2005 management studio to sqlserver2008

    There are details from microsoft here[/url]

    In a nutshell - you just need to install the updates to service pack 2

Viewing 15 posts - 181 through 195 (of 322 total)