Forum Replies Created

Viewing 15 posts - 3,106 through 3,120 (of 6,486 total)

  • RE: JOIN between dates

    Yes you can have a CASE statement in the join, but it will hurt performance somewhat. If you're joining two tables, I would consider dealing with the invalid end...

  • RE: Setting Culture code in SQL CLR

    I'm not sure why you would need that. The culture is going to be important on the front-end, since it's going to determine how you interact with the end-user....

  • RE: What is wrong with this SELECT query??

    Rod at work (5/29/2008)


    OK, that was it. WOW, I feel so stupid; the answer is so obvious.

    Oh well, thank you everyone for helping me out of my brain fart.

    It's...

  • RE: To get next working date for the given date...

    Must....resist...getting...sucked...into...religious...war...debate.

  • RE: Row Numbering

    Sounds to me that the calculation is wrong for your requirement. Perhaps a different windowed aggregate function.

    Try this:

    select count(distinct Left(ToName,2)) OVER(PARTITION BY TransTime, DriverNo) as CustCount,

    ...

  • RE: Row Numbering

    Jack - what exactly are you having trouble with? What is not happening?

    Can't help you without some more specifics....

  • RE: SQL Server Express 2005 : Transaction Logs

    swarada1783 (5/29/2008)


    Friends,

    I am planning to use SQL Server Express 2005 as the back end database for one of the VB applications which runs continuously on the client's machine.The data that...

  • RE: 1.5 Million Rows. How to Optimize Query?

    Also - keep in mind that unless he also changed the query to USE the full-text index, chances are - it's not using it. Full-text uses different operators to...

  • RE: DBCC SHRINKFILE

    If you need the T-Logs backed up, then I'd say - skip truncating. Ever. If you need to shrink then by all means, do so, just do it...

  • RE: Access Front End- not Updateable

    pete.trudell (5/29/2008)


    Thank You, Matt. The Leave Query (the query which is not updatable) uses one table and one query. The Table is the leave table which has a...

  • RE: load data from multiple tables(specific columns) to a single table

    You're going to have to provide some more details than that. Do these size tables have the same layout and you want to UNION them all? or are...

  • RE: DBCC SHRINKFILE

    Warren Peace (5/29/2008)


    Lets everybody stand back a little and take a good look at this.

    Assume this is a production SQL 2005 DB and the recovery model is Full.

    A dB get's...

  • RE: Row manipulation

    Good catch Antonio. One small change will help with that. Still looking for breaks, but forcing one at the beginning:

    declare @start int

    set @start=min(col1) from #myTable;

    ;With bobCTE as

    ...

  • RE: Sorting the Sheep from the Goats

    Phil Factor (5/29/2008)


    Brad McGehee hasn't just been sitting there on the top of this forum in the red band asking 'true/false' questions. He's just written a book for Simple-Talk called...

  • RE: What is wrong with this SELECT query??

    your OR is throwing you off.

    I'm thinking you want your WHERE clause to be:

    where StartTime >= '2008-5-29' and StartTime < '2008-7-1'

    and...

Viewing 15 posts - 3,106 through 3,120 (of 6,486 total)