Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Luvsql

    Using dateadd(year, -1, @MyDate) in sp does not bring any data with Crystal but does with SQL

    I'm using this syntax in a Where statement in my sp in SQL 2008. I run my sp in SQL and there is data for this particular field. However, when I access this sp this one field is BLANK in Crystal Report. I doesn't even acknowledge the datatype. I know in CR it uses dateadd('yyyy',-1,@MyDate)...
  2. Luvsql

    No fields listed for any stored procedure chosen

    I am running SQL Server 2012. The stored procedures I'm trying to use in Report Builder 3.0 run successfully within Enterprise Manager and use these with SAP Crystal Reports 2013 without issue. When I choose the sp within the Table/Matrix wizard, it doesn't list ANY fields. I've tried the SET...
  3. Luvsql

    Cannot see shared datasets in Report Builder

    I have SQL Server 2012 with SP 2 and Report Builder 3.0. I've created a shared data source in Report Manager, then created a shared dataset in Report Builder and saved into Report Manager. I can see the shared dataset in Report Manager and it does show the data source under dependencies as...
  4. Luvsql

    Tables with Dynamics Field Values

    Which field would I use in the formula? The field names/number of fields in the table change every time the report is run. You're assuming this one field is static but it's dynamic. Here is what the table is when I choose parameter is 3 (Field Name - field values) Code - STAND0001 1 Thur...
  5. Luvsql

    Tables with Dynamics Field Values

    I don't want all the values to display across the top. I only want the last field. If I enter 7 days, 30 days, 120 days that would put up to 120 columns across the top. I only want to very last one.
  6. Luvsql

    Tables with Dynamics Field Values

    Yes I know the column name will be that but need the value in that field to display. The column names are +1 Wed Nov 26 etc, but the field values for each of these columns is different.
  7. Luvsql

    Tables with Dynamics Field Values

    I have a stored procedure with a parameter called #Days so depending on how many days you enter when running the report, the table will be updated with different values. For example, if I enter 10 as the parameter, the end columns of the table will be +1 Wed Nov 26, +2 Thur Nov 27 up to +10 Fri...
  8. Luvsql

    Maintenance on SQL 2012 - Do you have to take databases offline for mainenance

    Good point. I'll add another step to backup the databases again IF the maintenance succeeds. Thanks.
  9. Luvsql

    Maintenance on SQL 2012 - Do you have to take databases offline for mainenance

    The databases that I do weekly maintenance on are those databases with Full recovery mode, which have their logs backed up hourly. When maintenance is run (DBCC checkdb, reindexing, update stats etc) the log files grow to almost the same size of the database. As a workaround I change the...
  10. Luvsql

    Maintenance on SQL 2012 - Do you have to take databases offline for mainenance

    That's what I thought. To rebuild the indexes on 11 databases takes under an hour (it's very fast). Our databases are also all under 15Gb so we have no issues.
  11. Luvsql

    Maintenance on SQL 2012 - Do you have to take databases offline for mainenance

    I have never taken our production databases offline to do weekly maintenance as it occurs when no one is using the applciations that access the databases and all the maintenance runs without issues. I'm now being questioned why they are not all taken offline to perform the maintenance. I run...
  12. Luvsql

    Convert qty column into multiple rows

    I have a table like the following: Code Qty CODE1 12 CODE2 5 CODE3 10 What I need to do is create x amount of unique rows for each code where x is the quantity by an incremeting value. The value I could actually do manually with exporting the results to excel, so I somehow need...
  13. Luvsql

    Unable to delete database in SQL 2012

    I'm simply trying to delete a database from SQL 2012 manangement studio by right-clicking and selecting delete. I have waited over 10 minutes then had to end task. I tried this directly on the server itself and same thing. In 2008 it took seconds. Why is this not working?
  14. Luvsql

    Cannot save, save as or open CR Adv Pro on Windows 7

    I know that it's not supported but it was working fine before I formatted my laptop and reinstall Windows. It doesn't matter what the default report location is (locally etc.) I cannot click Open (nothing happens), I just created a new report and cannot save, save as. Nothing happens. I see...
  15. Luvsql

    SQL 2012 Profiler

    I've checked another random trace and in the trace file that I saved and view within profiler I have CPU 265 and Duration 275. In the SQL table that I saved it to the CPU is 265 and the Duration is 275793. The CPU doesn't change. I'm assuming that 275 in the trace is actually 0.275...
  16. Luvsql

    SQL 2012 Profiler

    I have been looking up help (useless in SQL 2012) and googling for days yet cannot find one good article to explain how to interpret sql profile traces. It took a while to find out that on SQL 2012 the duration is milli and not micro seconds. Say I have a query that shows 12353 as the...
  17. Luvsql

    IE 11 Settings reverting back to default

    This doesn't happen after I log off or reboot. It happens after an hour or so passes. I have manually changed my security > internet settings multiple times today and they keep reverting back to default. I even changed ever level to medium, yet an hour or so later, I can't download, no active...
  18. Luvsql

    Migrating SSIS packages from SQL 2005 server to new SQL 2012 server

    Never would have thought to do that. Edited it, and re-imported and it seems to have worked. Thx!
  19. Luvsql

    Migrating SSIS packages from SQL 2005 server to new SQL 2012 server

    I exported the 3 packages that were setup in SQL 2005 and imported them into my new SQL 2012 server. The datasources on the package are still referencing the old server but I'm unable to edit them within the job in sql server. I don't have Visual Studio. Is that the only way to make a data...
  20. Luvsql

    Resetting all user's passwords to blank on Dynamics 2013

    I've migrated to a new SQL server 2012 from SQL 2005 then upgraded to Dynamics 2013. I used to be able to run a script against the SY01400 table to blank out the passwords, which forces the user to input a new one. Is that not possible anymore? Having to log into Dynamics as sa then manually...

Part and Inventory Search

Back
Top