Skip to content
Code Project
CODE PROJECT For Those Who Code

Database

Discussions on database access, SQL, and ADO

This category can be followed from the open social web via the handle database@forum.codeproject.com

17.1k Topics 61.8k Posts
  • NeuroDegenerative Problem in SQL

    csharp database help question
    2
    0 Votes
    2 Posts
    0 Views
    M
    You can use the same data/query structure but instead of filtering on where personalityid = 2 you can use where personalitysubtype in (14,1,78). Have a look in WHERE IN in BOL. Never underestimate the power of human stupidity RAH
  • Updating Table

    question database tutorial announcement learning
    8
    0 Votes
    8 Posts
    0 Views
    V
    Thank you for your replies.
  • 0 Votes
    2 Posts
    0 Views
    T
    1. You are actually asking a BusinessObjects question, not a database question. 2. You will probably get better results if you ask on the appropriate site. Try http://www.forumtopics.com/busobj/about.php[^] Tim
  • Decrypt Stored Procedure

    database sql-server sysadmin security help
    2
    0 Votes
    2 Posts
    0 Views
    P
    ya there is way to decrypt stored procedure just go to below link you will get code for that http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=505&lngWId=5[^]
  • Query to find Unique Records

    database
    4
    0 Votes
    4 Posts
    0 Views
    P
    welcome
  • Handling SQL Server Multi User

    csharp database sql-server winforms sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    M
    Deploy multiple copies of the client application! SQL Server is a server based database and as such is multi user by default. You need to build a client application (in c#) that connects to the database to manipulate the data, the client is single user with multiple deployments! Never underestimate the power of human stupidity RAH
  • SQL Server Unique/NonUnique Key

    database sql-server sysadmin xml help
    4
    0 Votes
    4 Posts
    0 Views
    D
    Thank you both for your suggestions. I'll try it out in afew days and if I find a solution, I'll post it here. Thanks, Dirso
  • How to script jobs

    database sql-server oracle sysadmin tools
    2
    0 Votes
    2 Posts
    0 Views
    W
    For SQL2000 using SQL Server Enterprise Manager: Right-click on the job, choose for all tasks/Generate SQL Script... Wout Louwers
  • SQL Query to update col_1 with col_2 value

    database tutorial announcement
    2
    0 Votes
    2 Posts
    0 Views
    X
    never mind. update mytable set tbl.col_1 = tbl_col2 where col_1 is null
  • Updatoing .NET Framework version

    csharp dotnet visual-studio help question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Hi, 1. wrong forum, this is not a DB question. 2. the .NET versions can live together, no worries at all. 3. the corresponding Visual Studio versions can live together too; the one you install last will dictate the file associations. 4. never versions of Visual Studio will convert your project files when opening them, making them no longer readable by older versions. 5. Why would anyone still use .NET 1.0 or 1.1? 2.0 has fixed a lot and added very useful stuff; 3.0 and 3.5 have added a lot more, not always very useful, functionality. And 4.0 will emerge pretty soon. :) Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
  • calculate age in stored procedure

    question css database
    4
    0 Votes
    4 Posts
    0 Views
    P
    FINAL SOLUTION select case WHEN (DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 ) = 300 THEN (cast(DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 as varchar(10))+ ' Y ') WHEN (DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 ) > 300 THEN (cast(DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 as varchar(10))+ ' Y ' + cast (((DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate())) - ((DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12))*12 ) as varchar(10)) + 'M') WHEN (DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 ) < 300 THEN (cast(DATEDIFF ( month , '1999-10-26 12:30:02.960' , getdate()) /12 as varchar(10))+ ' M ') END
  • MySQL

    question csharp mysql oracle com
    9
    0 Votes
    9 Posts
    2 Views
    L
    Thanks for the info!
  • Need some advices on SQL INTERSECT Function

    database question
    4
    0 Votes
    4 Posts
    0 Views
    J
    Thank you guys, I've considered the WHERE clause, but each filter criteria already looks very complex (with 3 to 4 nested Select, subquery statements, a lot of nested WHERE statements too); so I thought using WHERE would make it too complicated for SQL to handle.
  • SQL Server 2000 connectivity issue [fixed]

    help database sql-server sysadmin security
    2
    0 Votes
    2 Posts
    0 Views
    C
    Thank you for the update.
  • alter table

    question
    5
    0 Votes
    5 Posts
    0 Views
    F
    :) Many Thanks all. Done successfully
  • 0 Votes
    11 Posts
    0 Views
    C
    ok,thank you for your help. I think I need to search other solutions, otherwise it will cost me too much time.
  • TITLE: The Secret $5680 in 24 Hour Strategy

    csharp html
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • A Question About Architecture

    database question winforms graphics json
    5
    0 Votes
    5 Posts
    0 Views
    R
    :laugh: :laugh: :laugh: I well understand! I started out as a test engineer, developing automated test systems for missiles. When I started, they were requiring us to model the Known Universe at each interface, then simulate every possible thing that could happen there. I argued that we could far more cheaply test the components in-circuit, on the theory that if the designer knew what he was doing, his circuit would work if all the components were within tolerance. If not, the circuit should be changed, along with the designer. In time I succeeded in convincing the US Navy of the merits of in-circuit tests. So they added in-circuit testing to their requirements, but kept the requirement to functionally test everything using the Known Universe model. Go figure...:~ "A Journey of a Thousand Rest Stops Begins with a Single Movement"
  • Update a column

    database help tutorial question announcement
    4
    0 Votes
    4 Posts
    0 Views
    H
    Thanks. it works. regards :)
  • BACKUP DATABASE command

    database sharepoint sql-server sysadmin tools
    3
    0 Votes
    3 Posts
    0 Views
    E
    Thanks for your reply. Unfortunately, I made the change with the same result. I have to say that this one really has me stumped. I'm using the sp_executesql way, but I would love to know why the command way isn't working.