
Search In
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
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
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
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
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
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
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
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
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:-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