Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

SQL : How to update top N records in a table?

It is a common requirement in SQL server development to update top N records in SQL server.In this blog we will see two approaches to accomplish the same. 1) Using UPDATE with TOP UPDATE TOP (100) Table1 SET field1 = 1 However without an ORDER

How to Convert a Python Code to C++ Programming language

I want to stream .dat files from a file i created in python, i wrote the python code and it worked great but i can't write it in C++, i need help to write that code in C++, Thank you.   The python code is as following :   for ix in

How to set the priority of testcases in testng.xml file?

We use @Test method to make a class as a part of our testcase. We can set priority by using "priority=" with @Test annotation in testng.xml file. @Test(priority=1) @Test(priority=0) Priority 0 testcase will be executed first and then Priority 1

C issues with Xcode.

Hello Guys/Gals, I went to a 4 day C programming course in which I learned using windows. Now I'm using Xcode on my own MAC. I'm trying to practice some of the things I learned but having some small issues with Xcode. I wrote this C program to prom

Scope resolution operator

In C++ scope resolution operator is used to define a function outside a class. If a user  has a local variable with same name as global variable and wants to use a global variable the we use the scope resolution operator.   include<ios

Command line argument in C

You can pass command line argument in C programming.   The command line argument is handled by the program main function where argc[] is total number of  arguments passed, and argv[] is a array which points number of parameters passed in

  • 717
How to fetch Nth highest salary from a table.

There are two ways to fetch Nth highest salary/number. 1 - By using general sql query which works on all database. 2 - By using database specific sql query. Database specific sql query example Nth highest salary/number SQL Queries in Oracle to fe

Implementation of Insertion Sort in C

Insertion Sort:- The Insertion sort is used to sort an array. The array can be sorted in each round means, In each Iteration of an array the element can be find in sorted. Steps:- 1: The second element of array compared with the elements will appe

Implement Bubble Sort Using C

Bubble Sort:- Bubble Sort is the one of most popular Sorting Algorithm that is used to sort the array of n size. The Worst case and Average Case Complexity of Bubble Sort is O(n)^2. The Below Code will show you how to implement the bubble sort to sor

Function Templates in C++

Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type. A template is used to create generic class or a function. By using function templates we have used t

1 7 156
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: