User Profile

Collapse

Profile Sidebar

Collapse
TimHop12
TimHop12
Last Activity: Apr 29 '10, 06:02 AM
Joined: Nov 1 '06
Location: California
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • TimHop12
    started a topic SQL Server Isolation Level - Table Locks

    SQL Server Isolation Level - Table Locks

    Hello,

    I ran into a problem, where I am not sure how sql server is reacting -

    There is a table dbo.T1 with columns (OWNER, DATA)- now I have 3 stored procs - dbo.Begin, dbo.Copy, dbo.END.

    There is a process running which reads a file (file contains - OWNER and DATA) and calls these procs in the sequence dbo.Begin, dbo.Copy, dbo.END.

    dbo.Begin proc deletes the data from dbo.T1 table where...
    See more | Go to post

  • TimHop12
    replied to DATETIME - Time only needed
    Here you go:

    Code:
    Select convert(varchar(10),getdate(),108)
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic SQL Operation Performance Advice

    SQL Operation Performance Advice

    Hello,

    Here is the my situation: I have a table "products" of about 10,000 records in System 1. How I have to update this table intermittently, from a different System 2, which contains exactly same table and more correct data.

    Approach 1: Delete all the records from table "products" in System 1 and load it from System 2 afresh.

    Approach 2: Check against all the records existing in...
    See more | Go to post

  • TimHop12
    replied to t-sql query
    I don't see a reason, you should use View2 in your query when getting the # of days.

    The query can go as:

    [PHP]select ColumnX, datediff(dd,dat eadd(mm, datediff(mm,0,g etdate()),0),ge tdate())[/PHP]
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic CComboBox Editability and Events
    in C

    CComboBox Editability and Events

    Hi

    I am running into a problem where I have a Dropdown (i.e. Editable)

    and wanted to get the typed Text in the Dropdown and then Call the kill-focus event with the typed value. The dropdown has the CBS_DROPDOWN style. But on Kill Focus event the typed value is Not being obtained...? Please help.

    One more thing is, I wanted to have the <Enter> key captured for the same Dropdown and that time also...
    See more | Go to post

  • TimHop12
    started a topic How to know ExchangeServer Host?

    How to know ExchangeServer Host?

    Hello,

    I am logging into the machine and am able to open Outlook and see emails.

    But now I have a diff application and wanted to implement error-logging in that. But I am not sure what I should give in the following fields, that application is asking me for:

    Host:
    Port:
    Use Authentication? Y/N:
    User:
    Password:
    From Address:

    Can someone please let me know,...
    See more | Go to post

  • TimHop12
    started a topic SQL Query - Help

    SQL Query - Help

    I have the following data in a table T1:

    Col1 Col2 Col3 Col4 Col5
    10 x 20 a b
    10 x 20 a1 b1
    10 y 20 c d

    Now looking at this table T1, which I am generating dynamically as a temp-table, I want to "insert" data in a different table T2 as rows, in the following fashion:

    Single_Column
    10 x
    ...
    See more | Go to post

  • Have the problem solved. Got to know the incompatibility b/w Cr designer and viewer versions. Had to create report in earlier version of cr!!
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic IIS 5.0 Crystal Reports 9.0 - Unable to load report
    in IIS

    IIS 5.0 Crystal Reports 9.0 - Unable to load report

    Hello,

    I am getting the following error when I am trying to view a report (made in version 9.0) in Internet Explorer.

    "Unable to load report. [Connecting to Page Server ser1.abc.com]"

    Please help. Thanks.
    See more | Go to post

  • TimHop12
    started a topic Basic Question - Open Source DBMS

    Basic Question - Open Source DBMS

    Hello,

    Can somebody please advice me, which open source database is better to go for a Windows system?

    I have some options to go with:
    PostgreSQL
    MySql
    Ingres

    But when I checked mySQL site, looks like they are charging $599/yr.

    Please advice, if Open Source is not always free software?? ..and which DBMS would be cheapest and better to go with in my case. Thanks a l...
    See more | Go to post

  • TimHop12
    started a topic DB Master Key - Sql Server

    DB Master Key - Sql Server

    This is not working with me on SQL Server 2005:


    Code:
    use XDataBase
    CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'password'
    go
    However it was given on MS site:
    http://msdn2.microsoft.com/en-us/library/ms174382.aspx

    Please advice. Thanks....
    See more | Go to post

  • TimHop12
    replied to Surprising - SQL Quey - order by !!
    Thanks a lot iburyak. This helped...

    But please help me understanding, why the original query is not working? Where I am missing at. Appreciate your help... Thank you.
    See more | Go to post

    Leave a comment:


  • TimHop12
    replied to Surprising - SQL Quey - order by !!
    Thanks a lot iburyak!

    This helped...
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic Surprising - SQL Quey - order by !!

    Surprising - SQL Quey - order by !!

    Hi all,

    The query below is not compiling. Please help:

    Code:
    Select case
    				when isNull(a.[USER_ID],0)=0 Then char(43)
    				when isNull(t.[USER_ID],0)=0 Then char(45)
    				else char(160)
    		end as ind, count(*)
    from T1 t
    left outer join T2 a on
    				t.ASSIGNMENT_ID = a.ASSIGNMENT_ID
    group by ind
    order by ind
    See more | Go to post

  • TimHop12
    replied to Help for ConfigurationManager in VB.Net 2005
    in .NET
    Thanks Plater. I shall try this out.
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic Transposing Data of Table as Columns in SQL

    Transposing Data of Table as Columns in SQL

    Lets consider the following query:

    Code:
    Select Col1, Col2 from Table1 where Colx = 'A5100650867'
    This gives result as:
    Code:
    Col1                         Col2
    E-mail Address	            xyz@GMAIL.com
    Web Site                      www.GOOGLE.com
    I want the outcome as:

    Code:
    E-mail Address         Web Site
    xyz@GMAIL.com           www.GOOGLE.com
    So the new columns...
    See more | Go to post

  • TimHop12
    replied to Help for ConfigurationManager in VB.Net 2005
    in .NET
    Trying to do something like this in the DBManager Class:

    Code:
                Dim Path As String = "C:\DBInfo.xml"
                Dim doc As System.Xml.XmlDocument
                Dim nodeList As System.Xml.XmlNodeList
    
                Dim strConn As String
                Dim objSqlConn As SqlConnection
    
                doc = New XmlDocument()
                doc.Load(Path)
                node
    ...
    See more | Go to post

    Leave a comment:


  • TimHop12
    replied to Help for ConfigurationManager in VB.Net 2005
    in .NET
    Thanks Frinny for following it up.

    For making DB connection, I have placed my connectionStrin g in web.config as:

    Code:
    <connectionStrings>
           <add name="MyDBConnection" connectionString="server=Server1; database=Req1; uid=sa; pwd=;" />
    </connectionStrings>
    Now I have created a seperate project "DBConnect" and in the Class file DBConnect.vb I was...
    See more | Go to post

    Leave a comment:


  • TimHop12
    replied to Help for ConfigurationManager in VB.Net 2005
    in .NET
    By mistake I have posted the Question to this section of .Net forum. Can somebody move it for me to .Net Questions Forum please? Thanks.
    See more | Go to post

    Leave a comment:


  • TimHop12
    started a topic Help for ConfigurationManager in VB.Net 2005
    in .NET

    Help for ConfigurationManager in VB.Net 2005

    After creating the ConnectionStrin g node in Web.Config file (ASP.NET 2005) even after import System.Configur ation

    I am not able ot see the ConfigurationMa nager as a class, so that I can read the node for creating a DB connection. Any advice is appreciated. Thanks.
    See more | Go to post
No activity results to display
Show More
Working...