Forum Replies Created

Viewing 15 posts - 13,366 through 13,380 (of 13,841 total)

  • RE: Multiple Table Transformations

    That is somewhat clearer, though I am still a bit puzzled about how you are prepared to wipe all of the data that exists in some of the tables in...

  • RE: Query

    I must be missing something, but here's how I would answer questions (1) and (2)

    1)  select * from projects where '2006-03-01 00:00' between StartDate and EndDate

    2) select * from projects...

  • RE: Date problem with SQL 2000

    To get those results, what did you put in @StartDate and @EndDate?  Was it 1/8/2005?

  • RE: Multiple Table Transformations

    I presume that you are not capturing the changes themselves - you just know what tables are affected and want to send those to your 'live' server?  This sounds a...

  • RE: Date problem with SQL 2000

    OK - we're going to have to go into a bit more detail then.  Can you please post examples of the query that you are using, the source data, the expected...

  • RE: Date problem with SQL 2000

    But the left() function returns a varchar, not a datetime, so there's something strange going on here

    Perhaps your problem is linked to the...

  • RE: Date problem with SQL 2000

    It seems that you are not sure of the root of the problem - is it VB, or is it SQL Server?  I suggest that you run Profiler to see...

  • RE: SELECT from multiple tables

    So can you write the SELECT query for the unrelated table separately?  Eg something like this:

    select CMclientName

    from SCHOOLNET.dbo.clientmaster

    WHERE CMclientName = 'whatever'

    If you can,...

  • RE: Timer

    Can you use WAITFOR?  Check BOL for more details.

  • RE: SQL Job

    In Enterprise Manager, expand Management, right click on SQL Server Agent and select properties.  You'll be able to change the logon properties for the SQL Server Agent service there.

  • RE: Function usage - help needed!

    Have you run the stored proc with the debugger?  It might shed some light on things.

    Regards

  • RE: always rounding down

    Or this

    declare @m as money

    set @m = 200.2365

    select round(@m,2,1)

    It does the rounding that you want, but leaves the 4 dps.

  • RE: Query

    It's pretty straightforward.  Getdate() takes no parameters and always returns the current (system) datetime.  If you want other dates based on 'now', you'll have to use additional functions (eg for...

  • RE: Query

    I do not see why your query should not work, as long as:

    a) StartDate and EndDate are both DateTimes

    b) In the WHERE clause, you are careful with the getdate() bit. ...

Viewing 15 posts - 13,366 through 13,380 (of 13,841 total)