Forum Replies Created

Viewing 15 posts - 76 through 90 (of 92 total)

  • RE: Datename Help Please

    I figured out a stupid way to do it.  But if someone shows me a better way, I will be really appreciate.

    My way is:

    select datename(mm,convert(datetime,[month]+'/1/00'))

    from mytable

  • RE: Truncating table using linked server

    I use this way:

    1. Link the server to your local machine:

             USE master

             GO

             EXEC sp_addlinkedserver

            'sqlserver', /*Name of the linked server*/

            N'SQL Server'

     

    2. run select to make...

  • RE: Best way to handle forms Recordsource

    I created store procedures in the backend, call it from pass-through queries in front-end, and use them as recordsource.  By doing this, I have a lot of flexibilities to manupulate...

  • RE: Access 97 passthru query - how does it work

    So why don't you limit your data return like specifying a where clause in your store procedure? Another thing you can do is run a access query to filter your...

  • RE: Crosstab query in Sql

    Thank you for all of the excellent helps. I tried all of the ways, and they all work great for me. 

    Minh

  • RE: log files not shrinking after running dbcc shrinkfile

    I had the same issue.  All I did was to make a full backup, then dbcc shrinkfile.  My log files were shrank immediately.

    Minh

  • RE: Return counter in SELECT statement

    Here is what Allen Cui showed me before:

    select a.*, IDENTITY(int, 1,1)  as Counter

    into #tmptb  

    from  yourtable a

  • RE: Out of memory issue

    Thank you for all of the ideas.  I checked but it seems that my case was not belong to any cases that you mentioned:

    1. The client machine run on XP with...

  • RE: Local Time Issue

    I see.  Thanks a lot.

    How's about GETUTCDATE()? Can I used this function instead? Actually, I'm not sure how this function will work.

    Minh Vu

     

  • RE: SQL Statement

    Hi Amit,

    That's terrific! I couldn't believe that it could be done.  I thought that I had to write a loop statement....

  • RE: SQL Statement

    I tried to achieve the result that looks like this:

    Item       Day        Inhand          Demand        EndingBal         Ind

    A             0               50                    0                     50                  1

    A             1              ...

  • RE: Sql Enterprise

    Thanks very much.  I did have sp3 install, but somehow this error keeps popping up sometimes.

    Minh Vu:

  • RE: Problem with ntext data type field.

    I had the same issue and change the memo field to varchar(8000).  It works fine for me in both Access front...

  • RE: SQL Mail Service

    You should check the account that was used to start sqlagent.  From Services, can you manually start it?

    Minh Vu

  • RE: Cursor

    Thanks a lot for all of your help.  I can use Inugroho's way to work on since I don't need...

Viewing 15 posts - 76 through 90 (of 92 total)