Forum Replies Created

Viewing 15 posts - 31 through 45 (of 130 total)

  • RE: Is there a better way to insert data than Access?

    ben.brugman (4/16/2013)


    But here is a direct question (this is my main problem with Access):

    Use case:

    A user is inserting a row in Table A, table A has a relation with...

  • RE: Restoring database

    Have you thought of an alternate solution like SQL replication, infacts merge replication is good way to go. create publisher/subscriber, then schedule it to synchonize once a week?

  • RE: Get week ending date given the week number

    How about this... create a function from this code supply a year, a week number you want. DayNumber would be=7 for Saturday.

    declare @YearNum int,

    @WeekNum int,

    @DayNum int,

    @FirstDayYear As Date

    ...

  • RE: Possible bug in Microsoft system stored procedure

    David McKinney (4/5/2013)


    You're quite right, Lynn, I understand he's a very busy man, and it's only natural that he delegates from time to time.

    I tend to agree which what you...

  • RE: Possible bug in Microsoft system stored procedure

    David McKinney (4/5/2013)


    I would tend to agree.

    Do you have the option of creating a copy of the stored procedure with the variable declared as an int, and running...

  • RE: How to switch ID number to new values (but maintaining duplicates for new ones)

    or if you are lazy to list the column name do this.

    SELECT NEWID() AS [NewID], * INTO NewTable

    FROM ExistingTable;

    ALT_R TABLE NewTable DR_P COLUMN OldID

    *fill in...

  • RE: Data conversion error in ssrs

    without any test data, or specific line that the error occurs I dont think anyone here will be able to pin point you exactly where your exception occurs. My suggestion...

  • RE: Anyone help to script the linkedservers on weekly basis by automatically

    saranya.priyadharshini (3/21/2013)


    Hi ,

    Anyone help to script the linkedservers on weekly basis by automatically in text or .sql format file

    Regards,

    Saran

    You may want to provide more detail I dont really...

  • RE: Convert Row into Columns

    Here you go. l leave the easy part (eliminate unwanted rows) for you to solve the tough part can be done this way:

    CREATE TABLE #DATA (ManagerID INT, EmployeeID VARCHAR(50));

    ;WITH TEMPTE(ManagerID,EmployeeID)...

  • RE: ADP - passing value from a form to a query

    I see what look like you were doing VBA on MS Access. I have not heard of database application name ADP, what is it?

  • RE: Rebuilt Index

    ScottPletcher (3/20/2013)


    FYI, a FILLFACTOR of 80 is wasting space in many tables and perhaps even still have too little freespace in others.

    You need to determine the best FILLFACTOR for each...

  • RE: Rebuilt Index

    GilaMonster (3/20/2013)


    DBCC INDEXDEFRAG is deprecated, etc, etc. replacement is ALTER INDEX ... REORGANIZE

    2005 and newer, same as your ALTER INDEX REBUILD statement and sys.dm_db_index_physical_stats.

    Gail

    On my machine I have...

  • RE: Rebuilt Index

    2005 and newer, same as your ALTER INDEX REBUILD statement and sys.dm_db_index_physical_stats.

    Thanks again Gail!

  • RE: Rebuilt Index

    GilaMonster (3/20/2013)


    DBCC INDEXDEFRAG is deprecated, etc, etc. replacement is ALTER INDEX ... REORGANIZE

    Thanks Gail,

    So Reorganize will work for SQL 2000 and newer?

    Thanks!

  • RE: Difference between varchar(max) and varchar(8000)

    GilaMonster (11/28/2012)


    Please note: 3 year old thread (and what I was in this thread was incorrectly accused of being wrong. I've been wrong elsewhere, but not here)

    I was aware of...

Viewing 15 posts - 31 through 45 (of 130 total)