Forum Replies Created

Viewing 15 posts - 256 through 270 (of 326 total)

  • RE: Derived column

    gravitysucks (8/25/2012)


    dan-572483 (8/24/2012)


    If the length of the string might vary - but there will always be brackets - this will work:

    declare @string varchar(max)

    set @string = '{String you want to remove...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: SQL Beginner

    I am not sure but I think he is looking something like this ; and I am still scratching my head to do this in a proper way..

    CREATE TABLE #Trips(

    ...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: How to make Business Intelligence Development Studio appear?

    open vs2008-new prj - integration prj , that would do the same..

    one more thing , for other projects to appear in the menu , you may have to install vs2008...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: SQL Query for reporting.

    what kind of relationship , do you have in the tables ?

    select customer , count(cust)from CustTable a

    left join OrderTable

    on customer=Cust

    group by customer

    this may have been the proper code;

    why is that...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Derived column

    Another way to do it using STUFF.

    declare @testid varchar(50)=

    '{784A4579-8689-438E-ADAA-9DCBC8A88AE7}'

    select STUFF(stuff(@testid,len(@testid),len(@testid),''),1,1,'')

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Catalog Views

    Nice to learn new thing. Thanks

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Inserts

    Hugo Kornelis (8/23/2012)


    mtassin (8/23/2012)


    So what purpose did leaving out the table create statements or saying that we have to assume that they exist in the text prior to the code...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: CREATE VIEW permissions

    check the database MCW2 permissions available to the role...

    here is a better link ..

    http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/abc8e23d-0169-4cf8-a546-3dd0a5758d21

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Strange Management Studio 2008 R2 (10.50.1600 and 10.50.1617) behaviour

    SqlServerTroubleMaker (8/19/2012)


    New query window

    right click --> Connection --> change connection --> Entered dev named instance name -> got it connected to it (looks like it was, but it wasn't),

    in fact...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Strange Management Studio 2008 R2 (10.50.1600 and 10.50.1617) behaviour

    SqlServerTroubleMaker (8/19/2012)


    Bottom right was also showing wrong instance name.

    That's strange ....

    I never encountered such issue ...

    you said that there is something else too , what was that ??

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: How to mask a field?

    shivashankara9 (8/19/2012)

    yes, 5 columns should visible

    as, you said we can do with view

    please let me know, how to do with view.

    create a view with visible columns ; have permission set...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: How to get sub total on non-numeric field in SSRS?

    rVadim (8/19/2012)


    naisu1383 (8/19/2012)


    Actually i am counting mail returns for month field if any. So for that i need count of month for particular month and then total of mail returns...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: How to get sub total on non-numeric field in SSRS?

    naisu1383 (8/19/2012)


    Actually i am counting mail returns for month field if any. So for that i need count of month for particular month and then total of mail returns for...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: Insert into table from temp table

    kaushal_shah26 (8/19/2012)

    My main concern: In the future, if we add a new column to tableA then " Insert into tableA (column x, column y, column z) select columnx, columny, columnz...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

  • RE: How to mask a field?

    shivashankara9 (8/19/2012)


    Hi,

    I have a table with 10 columns

    Out of 10, i need to mask 5 columns because i don't want to show those columns in development and testing environment.

    when you...

    ~ demonfox
    ___________________________________________________________________
    Wondering what I would do next , when I am done with this one :ermm:

Viewing 15 posts - 256 through 270 (of 326 total)