Forum Replies Created

Viewing 15 posts - 2,566 through 2,580 (of 5,590 total)

  • RE: Finding records clustered by date

    Aaron N. Cutshall (11/3/2010)


    ColdCoffee (11/3/2010)You might want to do the same to attract more people to view your thread; more than attracting, you will get top-brainers to work on your...

  • RE: Finding records clustered by date

    ColdCoffee (11/3/2010)


    WayneS (11/3/2010)


    I think Monsieur ColdCoffee's code can be simplified - I don't think that the first CTE is necessary if in the second one, we order by the Activity...

  • RE: Default format?

    http://www.devarticles.com/c/a/Oracle/Datatypes-Used-in-Oracle-9i/1/

    A NUMBER datatype with no parameters is set to its maximum size.

    Edit: Found another site that says if precision isn't specify, then 38 is used.

  • RE: Update a date field to a specific day and time

    See the attached code (having trouble posting from work). I'll copy the code into this message tonight when I get home.

    DECLARE @test-2 TABLE (MyDate datetime);

    INSERT INTO @test-2

    SELECT '2010-06-24 18:19:00.000' UNION...

  • RE: Finding records clustered by date

    I think Monsieur ColdCoffee's code can be simplified - I don't think that the first CTE is necessary if in the second one, we order by the Activity in the...

  • RE: Table Value Function

    Stefan Krzywicki (11/3/2010)


    mbender (11/3/2010)


    this is really cool code, would never have thought to do this. The one thing i'm missing is what happens if there is values in the...

  • RE: Table Value Function

    mbender (11/3/2010)


    What does indexing do? None of our tables are indexed. By doing the Create Index, what will that do?

    NONE of them??? wow...

    The purpose of indexes is to allow...

  • RE: Need a Help in Importing CSV file into DB

    Column delimiters need to be unique in the file. If one of the columns allows commas, change to something else (like the |).

  • RE: UNC backups

    jamesn 89076 (11/2/2010)


    Thanks for the comments everyone.

    How do you guys do the "xcopy/robocopy". Do you include it as apart of the Backup Agent job or do it schedule it...

  • RE: Showing two char fields columns as one

    In the query that retrieves the data, just concatenate them together:

    SELECT CombinedColumn = StringCol1 + StringCol2

    FROM YourTable;

  • RE: 2 SELECT statements from one CTE

    As far as code snippets go... is there anything particular that it's looking for? It's a royal PIA trying to post code sometimes. I've had times where I can't post...

  • RE: 2 SELECT statements from one CTE

    CirquedeSQLeil (11/2/2010)


    Do you use websense at work?

    I don't... but Work uses websense at work. What do you know about this interaction between them?

  • RE: Database roles

    Just looking at the intro to that article, it looks like what I'm talking about.

    I thing I'm interested in - I frequently end up giving a reporting user access to...

  • RE: 2 SELECT statements from one CTE

    Thanks Jason - I occasionally have problems posting code - seems to be from work. I'd love to figure it out!

  • RE: 2 SELECT statements from one CTE

    Is this what you're looking for?

    (Having issues posting code - it's in the attachment.) Code is now below.

    -- sample data

    DECLARE @EmployeeDetails TABLE (id int PRIMARY KEY CLUSTERED,

    ...

Viewing 15 posts - 2,566 through 2,580 (of 5,590 total)