Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 3,505 total)

  • RE: Mid result in ssrs

    This worked with the data you posted:

    CDBL(MID(Fields!TwoFields.Value,INSTR(Fields!TwoFields.Value,"=")+1,INSTRREV(Fields!TwoFields.Value,"=") - INSTR(Fields!TwoFields.Value,"=")+1))

  • RE: Creating design for databases

    I would design the tables in SQL Server and then maybe use Visio to document the relationships... and draw the pictures, but I'm not sure MS left that in the...

  • RE: Adding all the Fields from a dataset to a table

    About the best you can do is once you add one field from your dataset to the tablix/matrix, then you can choose the other fields by clicking on the next...

  • RE: Extracting Select data from SQL to Access

    Or you could install Reporting Services and do the reporting there... Kind of depends what kind of reporting you're doing. One thing that Access doesn't do well is crosstabs/matrix...

  • RE: How to show Quarters Dynamically in SQL

    do it in your WHERE clause.

    WHERE MyTable.MyDate>DATEADD(yyyy,-1,GETDATE())

  • RE: Mid result in ssrs

    Must be getting rusty...

    FirstDelim =INSTR(Fields!TwoFields.Value,"=")+1

    SecondDelim = INSTRREV(Fields!TwoFields.Value,"=")

    FinalValue=CDBL(MID(Fields!TwoFields.Value,Fields!FirstDelim.Value,Fields!SecondDelim.Value-Fields!FirstDelim.Value))

    So without the intermediate calculated columns:

    CDBL(MID(Fields!TwoFields.Value,INSTR(Fields!TwoFields.Value,"=")+1,INSTRREV(Fields!TwoFields.Value,"=") - INSTR(Fields!TwoFields.Value,"=")+1))

    The CDBL just converts the text string back into a number... only necessary if you're going to...

  • RE: Adding row when using lookup without a match

    Alex,

    Glad to help. Give it a try and post back if you get stuck. If you need help. post the CREATE TABLE scripts for the Budget and Actual...

  • RE: Nested Case statement question

    Robert,

    could you post the create table scripts and insert statements for some sample (representative, not necessarily real) data? Then I think your question would be easier to understand and...

  • RE: Adding row when using lookup without a match

    I don't know of a way, outside of using T-SQL, to do what you want. Inner joins cause records without matches to drop out of the result set, so...

  • RE: How to select top 10 records from 2 distinct groups

    This is slightly wrong

    WHERE DXCD1 IN (IS NULL, '7140')

    Try

    WHERE DXCD1 IS NULL OR DXCD1 = '7140'

  • RE: Extracting Select data from SQL to Access

    If you create a new database in Access, it won't have anything in it. So you create a connection to the SQL Server database, and then link to the...

  • RE: Extracting Select data from SQL to Access

    If you can connect to the SQL database from Access, you can link to the tables/views in SQL Server and then run a bunch of MakeTable queries in Access. ...

  • RE: Extracting Select data from SQL to Access

    I would use either a proper backup script or you could right-click the database, and choose Backup... from the menu. Just to make sure you didn't damage it when...

  • RE: Extracting Select data from SQL to Access

    You could create a new instance of your database, make it read-only, and then report on that. If you don't need real-time data, then that's the easiest.

    You could just do...

  • RE: MS SQL vs Oracle

    What you do is entirely up to you. Search the jobs in your area for both SQL Server and Oracle. Take the certification exams if that's what floats...

Viewing 15 posts - 2,056 through 2,070 (of 3,505 total)