Forum Replies Created

Viewing 15 posts - 8,731 through 8,745 (of 9,643 total)

  • RE: All Data Readers Are Evil

    I don't know that I would say "evil", but dangerous would be a good term. I mean how can it be evil when the whole point of storing data...

  • RE: Conditional Union

    Here is a link to another forum discussing parameterized views (which SQL Server does not have) which applies to what you want to do, I think.

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=73034

  • RE: Linking to the Previous Row

    sara karasik (4/29/2008)


    Thanks for the info on CTE's.

    Has anyone compared the speed of CTE's vs. temporary tables vs. a table variable ?

    Generally over small datasets a CTE will be faster.

    Can...

  • RE: Conditional Union

    You can't create a view this way. Where are you getting the id from in the case statement? It can't be from the earlier selects. I think...

  • RE: Identity Columns

    Q (4/28/2008)


    Jack,

    wouldn't this query work in 2000?

    select * From syscolumns

    where autoval is not null

    to get more specific info

    select a.name as ColumnName ,b.name as TableName

    From syscolumns a

    inner join...

  • RE: Error Handling in SSIS

    pradeep_panzade (4/27/2008)


    Hi,

    Can u please send me one example explaining the error output to SQL Table.

    Pradeep

    pradeepvpanzade@yahoo.com

    I think I see what you are asking for now. I never mention in the...

  • RE: Identity Columns

    aghasemi (4/27/2008)


    There Is no such a way when database engine is SQL server 2000.the following query returns error:

    SELECT [object_id], [name] FROM sys.columns

    WHERE is_identity = 1

    The question CLEARLY states "In SQL...

  • RE: How to Handle NULL Values Loaded by SSIS from Excel Files

    I thought the article was well-written and easy to follow. I do agree with others that loading the first row (header) as data in the source would be the...

  • RE: Reporting Services - Limiting Records Per Page

    Excellent Peter, I should have thought of that, too! It's a simple solution.

  • RE: Wildcards in IIf statement expression

    I believe you need to use "*" in SSRS as it is not SQL, but .net.

  • RE: Need Query help

    I think this will work:

    [font="Courier New"]CREATE TABLE #db_size

       (

       data_Id INT,

       run_Date DATETIME,

       data_size_mb DECIMAL(15, 2)

       )

      

    INSERT INTO #db_size

       SELECT

           3311, '2007-01-02 00:00:00.000', 2977404.13

       UNION

       SELECT

           3327 ,'2007-01-04 00:00:00.000',...

  • RE: How do you Create Table using the current Date for the name of the Tabe

    junkmail (4/25/2008)


    It appears that the problem is that you cannot use an "@" in a Create Table.

    So somehow I need to be able to generate the GetDate() result and...

  • RE: Check Database Integrity Task not failing on corruption

    Run Select @@Version and you get something like this:

    Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)

    Mar 23 2007 16:28:52

    Copyright (c) 1988-2005 Microsoft Corporation

    Developer Edition on Windows NT 5.1...

  • RE: SQL Stored Procedures

    How are you going to change the logo? Are you going to put in a switch statement that loads an image from a file?

    The only way I know to...

  • RE: Unable to connect to Reporting Services in Mngt Studio

    Prasad Bhogadi (4/25/2008)


    Just you need to verify if your web.config file under Report Server and Report Manager have any xmlns links inside the Configuration tag and remove them.

    configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" then...

Viewing 15 posts - 8,731 through 8,745 (of 9,643 total)