Skip to content

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
  • RANKING IN VB.NET MYSQL

    csharp mysql help tutorial
    9
    0 Votes
    9 Posts
    0 Views
    K
    SELECT `RegNo`, Marks, @Position + 1 AS Position FROM results , (SELECT @Position:= 0) r ORDER BY Marks desc; It just needs that simple modification only
  • Populate one table from another

    database mongodb sql-server game-dev sysadmin
    10
    0 Votes
    10 Posts
    0 Views
    C
    The number of accounts an agent may have is allocated by a manager, thus the table #MyTestCounts. Mongo: Mongo only pawn... in game of life.
  • VB.NET ITEXTSHARP PDF REPORTS

    database csharp mysql
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • MySQL for MFC application

    csharp c++ database mysql visual-studio
    2
    0 Votes
    2 Posts
    0 Views
    Kornfeld Eliyahu PeterK
    MFC can use ODBC data sources: https://msdn.microsoft.com/en-us/library/w2c4cthk.aspx[^] MySQL has ODBC drivers for C++ (good for MFC): http://dev.mysql.com/downloads/connector/cpp/[^] What else you need? Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
  • vb.net with mysql

    csharp database mysql help
    7
    0 Votes
    7 Posts
    0 Views
    L
    If you can write a query to select the results, then it should be easy to get them in a new table. Right now, there are a few fields lacking - how would you know which student took which exam? Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • 0 Votes
    3 Posts
    2 Views
    T
    A small note after some further research: There is an add-in to Visual Studio called "SQL Server Compact/SQLite Toolbox" which give you som really nice tools for working with those databases from within Visual Studio. One of those features is to update the SQL Server CE database from v.3.5 to v.4.0.
  • The film possesses Amitabh Bachchan Dhanush

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • how can i transfer data

    database sql-server oracle sysadmin tools
    6
    0 Votes
    6 Posts
    0 Views
    U
    Proceed accordingly then ;) and best of luck.
  • Datediff function

    help question
    14
    0 Votes
    14 Posts
    0 Views
    A
    You are correct, but still it wont work like that. Something was missing and after analasys I saw that the Start_Date field wasn't NULL but just empty. So this is what I changed to make it work: ,Datediff(SECOND, convert(datetime, ISNULL( NULLIF([START_DATE], '' ) , END_DATE) + ' ' + ISNULL( NULLIF([START_TIME], '' ) , END_TIME)), convert(datetime, [END_DATE] + ' ' + [END_TIME])) AS M_Time_Worked A big thank's to all for helping me and the responses where I learned from. Kind regards, Ambertje
  • Full Text Search sqlserver

    2
    0 Votes
    2 Posts
    0 Views
    L
    Documentation[^]. Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • The film features Amitabh Bachchan Dhanush

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Shrink Problem After Compress

    help database
    2
    0 Votes
    2 Posts
    0 Views
    L
    Help you with what, you have not asked a question?
  • Oracle Connection User Name and Password [UPDATE]

    oracle help question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Need a Select query that filter illegal characters

    database tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    U
    There are multiple ways to do it. i would suggest you should review your data to identify how many other invalid characters you have after this just use the simple REPLACE() function to remove those. Furthermore, if you are planing to create a function for this then you can look into this Link. hope it helps.
  • BLOB or external storage...

    database design help question
    7
    0 Votes
    7 Posts
    0 Views
    D
    If you are using SQL SERVER 2012 then what do you say about using File Table
  • Modify the computed expression of computed column

    database help
    3
    0 Votes
    3 Posts
    0 Views
    D
    Hello, I don't think it will allow you to change Computer column expression on the Fly... Instead add new column with new expression and name it as newColumn. Delete you old column and then rename newColumn to Original column name using below command. sp_RENAME 'Table_First.newColumn', 'YourOriginalColumnName' , 'COLUMN'
  • ERD fee management system keep the record of whole year

    help
    11
    0 Votes
    11 Posts
    2 Views
    L
    Please post only in English in these forums.
  • Access query convert to MSSQL query

    database sql-server question
    2
    0 Votes
    2 Posts
    0 Views
    M
    Change the single quote ' to an asterisk * in the count functions. eg count(*) Never underestimate the power of human stupidity RAH
  • 0 Votes
    2 Posts
    0 Views
    L
    Which part? There is no separate set of commands that work on "all" versions. You'll have to find the part that is deprecated and find some replacement. Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • 0 Votes
    2 Posts
    0 Views
    M
    It all depends on the UI, aspx you would need to use javascript to get the modified sequence and pass it back to the server, that is what the asp forum is for. For desktop or silverlight UI you use the underlying collection to determine the sequence and write that to the database. This is not really a database problem but should have been asked in one of the UI forums for a better response. And coming to a database forum and asking for c# code is rather silly! Never underestimate the power of human stupidity RAH