Forum Replies Created

Viewing 15 posts - 61 through 75 (of 1,185 total)

  • RE: Problem with Datetime format

    I don't think the format is an issue UNLESS the data in your table is a VARCHAR, SQL should not care if you pass WHERE date = '2005-10-10 8:30AM' vs...

  • RE: Group dates by company QTR

    How bout CASE WHEN FieldDt BETWEEN '2002-10-01' AND '2003-009-30' THEN 'FY2003'

    May need to look at creating a xref table to house Month / Year in it along with Quarter and...

  • RE: Slowed Speeds: Hardware vs Software design

    I would review the software design 1st.  Are you using stored-procedures and NOT adhoc queries via the web?  IF NO then this is a good time to change that.  May...

  • RE: Replacing data in a field

    If this is not going to be a one shot pony make sure that the UPDATE doesn't update records that are already -3....

  • RE: Proper way to join tables

    As far as SQL is concerned IT doesn't care.  HOWEVER,

    As a general rule IF you start with the SMALLEST table and work outward your queries will run better.  This will...

  • RE: Question of the Day for 06 Oct 2005

    This may not be SQL related however, we have already started working on addressing the issue here at my company.

    Current logic (in a stored-procedure) is for START find 1st Sunday...

  • RE: help for n00b

    1.  Data is inserted into Tables ??

    2.  AFAIK they should be equal.  If they aren't there would be a problem because you would have deleted more rows than inserted...

  • RE: Irony

    I think it is the fact that there is no post yet we haven't responded to it?

  • RE: Unable to access 64 bit data from 32 bit management studio.

    I don't think you can access 64BIT from 32BIT.  I know you can do the reverse however.  Also, there are certain things that will not run in 64BIT only 32BIT...

  • RE: how to reorder data from row view to collumn view

    Search here for row to column or PIVOT should help you find the threads to help you

  • RE: Pivot table type of report

    It is.  Search here for rows to columns or PIVOT or ... + in SQL 2k5 it is by using PIVOT keyword....

     

  • RE: Locking

    You could/can do may different things

    1. Create a master table that tracks stored-procedures and their related activities.  If someone is using it then the requesting SP needs to go into a...
  • RE: sp_helpdistpublisher @check_user = 1

    It looks like Reporting Services is using SQL-DMO to pull reports.  I would look at whatever application(s) that are set-up using RS and see when they run (possibly at 5...

  • RE: Querry for missing data from warehouse?

    SELECT * FROM [LinkedServer].DB.Owner.Table

      WHERE NOT EXISTS (SELECT * FROM Production.DB.Owner.Table)

    ???? Possibly ???  See BOL for more information on NOT EXISTS (my syntax may need tweaking)

  • RE: is it possible to backup sql server db with vb.net script????

    ?!?!?!? IF I understand the question "I want to have VB.Net manage SQL backups" THEN the answer is Yes you can.

    WHY you want to is another matter.

    Research SQL-DMO for more...

Viewing 15 posts - 61 through 75 (of 1,185 total)