Forum Replies Created

Viewing 15 posts - 496 through 510 (of 533 total)

  • RE: Group By Clause not working - (Is Pivot an option?)

    I don't think you understand. GROUP BY is working exactly as intended in the example you've given. When you include multiple fields in the condition it only aggregates...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Group By Clause not working - (Is Pivot an option?)

    So you are grouping by a bunch of different fields, each of which can have multiple values ([P1_start] can be either CONVERT(nvarchar(5), STARTTIME, 108) or ''). If you have...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Group By Clause not working - (Is Pivot an option?)

    As a suggestion, it will be easier for people to help you if you clean up the code that you post. For example:

    USE [Sourceinfo]

    GO

    /****** Object: StoredProcedure [dbo].[CTTS_TIME_sp] Script Date:...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Error converting the varchar value to int

    It would greatly help if you would provide a sample of data from your 'number' field.

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: how to code if not exists(then set identity and then insert

    One quick thing, you're not formatting your conditional statement correctly ...

    IF blah blah

    BEGIN

    <do this>

    <do that>

    END

    ELSE

    BEGIN

    <do...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Recursive cross join to get all available combinaisons

    This is a really interesting problem. I cannot think of a way to do it completely dynamic in terms of the maximum size of your combination collections and I'm...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: OPENROWSET to return an integer with parameters

    NEWID() is to create a new unique identifier ... ordering by that function makes no sense to me. I would be curious to understand exactly what you're trying to...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: OPENROWSET to return an integer with parameters

    My first question ... why are you using OPENROWSET to query a database on the local server? Even if you're hitting a remote server, the function is really designed...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Group and individual client SQL SERVER DESIGN

    Without knowing more detail about a lot of aspects of what you're doing and why you're doing it, it is hard to be very sure with advice, so take it...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Group and individual client SQL SERVER DESIGN

    Can you give some examples of questions you're trying to answer with your database?

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Pass multi values into procedures

    I think it's worth pointing out that there are a lot of people who are here specifically because they want to find out the best ways to accomplish goals, not...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SSRS Developing a Report

    If I understand you correctly, this isn't really a SSRS specific issue. You're trying to do something and then get the results of that something before the something is...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Removing Null and keep them blank

    DECLARE @test varchar(255);

    select ISNULL(@test,'') MyColumn;

    edit: I agree with Steve below ... why do you want to do that? Are you wanting to change the data the table contains...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SSRS Developing a Report

    Have you tried doing both parts of the process in the same stored procedure?

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Load txt to datbase repeatedly

    You can use a separate exe to watch the files and still use SSIS. The .NET languages have a built in FileSystemWatcher class so it's trivial to write a...

    └> bt



    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 496 through 510 (of 533 total)