Database Development
|
SQL Server |
20 Feb 2011
Updated: 20 Feb 2011
Rating: 4.95/5
Votes: 12
Popularity: 5.34
Licence: CPOL
Views: 104,317
Bookmarked: 22
Downloaded: 0
This tip describes how to delete duplicate rows from a table that doesn't have a key.
|
|
5 May 2012
Updated: 6 May 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 24,691
Bookmarked: 4
Downloaded: 0
This is an alternative for "List SQL Server table column name as rows".
|
|
14 May 2012
Updated: 14 May 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 9,400
Bookmarked: 3
Downloaded: 33
This is an alternative for "Applying Running Total to a Result set"
|
|
19 May 2012
Updated: 19 May 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 6,960
Bookmarked: 2
Downloaded: 24
This tip describes how to guarantee a fixed amount of rows in a table by using triggers
|
|
20 Feb 2011
Updated: 20 Dec 2012
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 32,730
Bookmarked: 16
Downloaded: 0
This tip describes how to delete duplicate rows from a table that doesn't have a key.
|
|
27 Dec 2012
Updated: 17 Jan 2013
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 29,878
Bookmarked: 5
Downloaded: 48
This tip describes how to calculate an aggregate for dynamically defined columns using UNPIVOT clause.
|
|
18 Dec 2012
Updated: 19 Jan 2013
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 37,283
Bookmarked: 5
Downloaded: 38
This tip shows how to get rows from a table where a field contains a number that is a power of 2 using LOG function.
|
|
26 Aug 2014
Updated: 26 Aug 2014
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 51,977
Bookmarked: 7
Downloaded: 190
Generate a set of random numbers by using CTE
|
|
26 Aug 2014
Updated: 28 Aug 2014
Rating: 4.83/5
Votes: 10
Popularity: 4.83
Licence: CPOL
Views: 41,370
Bookmarked: 7
Downloaded: 104
Generate Fibonacci numbers using CTE
|
|
27 Jul 2011
Updated: 31 Aug 2014
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 27,592
Bookmarked: 11
Downloaded: 70
This tip demonstrates the use of LAG and LEAD functions in SQL Server.
|
|
10 Sep 2014
Updated: 10 Sep 2014
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 8,480
Bookmarked: 4
Downloaded: 24
The tip shows how to intentionally cause an error in a situation where a non-existing reference would be updated.
|
|
13 Sep 2014
Updated: 13 Sep 2014
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 12,302
Bookmarked: 2
Downloaded: 58
This tip describes how to fetch the first or the last occurrence of given day of week within a month by using a single SQL statement.
|
|
26 Aug 2014
Updated: 16 Sep 2014
Rating: 4.64/5
Votes: 5
Popularity: 3.24
Licence: CPOL
Views: 59,353
Bookmarked: 10
Downloaded: 93
How to generate desired amount of rows in SQL Server using CTE
|
|
18 Sep 2015
Updated: 18 Sep 2015
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 99,597
Bookmarked: 6
Downloaded: 197
This tip shows how to calculate a difference between two datetime values and to express the difference in years, days, hours, minutes and so on.
|
|
26 Sep 2016
Updated: 30 Sep 2016
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 10,580
Bookmarked: 3
Downloaded: 0
TrimChar function which removes occurences of the desired character from both ends of a string.
|
|
4 Oct 2016
Updated: 4 Oct 2016
Rating: 4.56/5
Votes: 6
Popularity: 3.54
Licence: CPOL
Views: 24,351
Bookmarked: 2
Downloaded: 0
Few tips for connecting to an SQL Server instance using DAC
|
|
13 Oct 2016
Updated: 13 Oct 2016
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 12,874
Bookmarked: 6
Downloaded: 36
A little tip on how to format repeating values in SQL output using LAG function
|
|
7 Dec 2016
Updated: 7 Dec 2016
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 9,990
Bookmarked: 2
Downloaded: 29
This tip demonstrates how to select valid records from a table that contains validity date limits.
|
|
28 Dec 2019
Updated: 28 Dec 2019
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 13,094
Bookmarked: 1
Downloaded: 19
How to overcome the error message "Types don't match between the anchor and the recursive part in column..." for varchar columns in a recursive CTE query
|
|
10 Aug 2011
Updated: 10 Aug 2011
Rating: 4.60/5
Votes: 3
Popularity: 2.19
Licence: CPOL
Views: 7,530
Bookmarked: 0
Downloaded: 0
Or simply:exec msdb..sp_help_jobsp_help_job (Transact-SQL)[^]
|
Desktop Programming
|
Windows Forms |
26 Aug 2012
Updated: 26 Aug 2012
Rating: 5.00/5
Votes: 10
Popularity: 4.77
Licence: CPOL
Views: 49,543
Bookmarked: 9
Downloaded: 686
The tip shows one way to resolve if a user control is in design mode.
|
WPF |
5 Apr 2021
Updated: 5 Apr 2021
Rating: 4.53/5
Votes: 6
Popularity: 3.52
Licence: CPOL
Views: 5,773
Bookmarked: 6
Downloaded: 72
When a string longer that 65536 is shown using a message box, the result might be unexpected.
|
Oracle
|
|
21 Feb 2011
Updated: 26 Jul 2015
Rating: 4.86/5
Votes: 4
Popularity: 2.92
Licence: CPOL
Views: 17,980
Bookmarked: 4
Downloaded: 0
This alternative is created to correct few mistakes in the original tip. Most importantly: Never update system tables.
|
Programming Languages
|
C# |
29 Feb 2020
Updated: 29 Feb 2020
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 13,800
Bookmarked: 0
Downloaded: 71
Toggle mouse button swapping between on and off
|
|
17 Nov 2012
Updated: 17 Nov 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 8,610
Bookmarked: 7
Downloaded: 52
The tip shows an example for using multiple partial classes to define a single class.
|
|
26 Jul 2012
Updated: 26 Jul 2012
Rating: 4.72/5
Votes: 4
Popularity: 2.84
Licence: CPOL
Views: 26,831
Bookmarked: 4
Downloaded: 100
This tip describes few examples how ro cumulate values using an extension method with LINQ
|
|
20 Jul 2012
Updated: 10 Aug 2012
Rating: 4.64/5
Votes: 10
Popularity: 4.64
Licence: CPOL
Views: 60,846
Bookmarked: 16
Downloaded: 112
This tip describes how to use an existing enum to define a new, for example a context specific enum.
|
|
26 Jul 2015
Updated: 26 Jul 2015
Rating: 4.60/5
Votes: 3
Popularity: 2.19
Licence: CPOL
Views: 9,051
Bookmarked: 5
Downloaded: 180
This tip shows how to extract images from an Office document saved in Office Open XML format.
|
|
7 Nov 2012
Updated: 7 Nov 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 25,903
Bookmarked: 4
Downloaded: 0
This is an alternative for "Manipulating a string array using a Lambda Expression"
|
|
27 Mar 2012
Updated: 27 Mar 2012
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 19,231
Bookmarked: 5
Downloaded: 0
This tip describes a way to get publishing information for a ClickOnce deployed application
|
SQL |
19 May 2012
Updated: 19 May 2012
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 11,120
Bookmarked: 1
Downloaded: 22
This tip describes how to guarantee a fixed amount of rows in a table by using triggers in Oracle.
|
|
31 Aug 2014
Updated: 31 Aug 2014
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 16,213
Bookmarked: 1
Downloaded: 35
Two ways of generating desired amount of rows in Oracle by using a single SQL statement.
|
|
5 Sep 2014
Updated: 5 Sep 2014
Rating: 4.20/5
Votes: 2
Popularity: 1.26
Licence: CPOL
Views: 24,683
Bookmarked: 5
Downloaded: 56
This tip shows two ways of generating Fibonacci numbers in a single SQL statement
|
|
22 Feb 2011
Updated: 26 Jul 2015
Rating: 4.82/5
Votes: 6
Popularity: 3.75
Licence: CPOL
Views: 24,110
Bookmarked: 3
Downloaded: 0
This tip demonstrates the use of LAG and LEAD functions in Oracle.
|
|
13 Jul 2017
Updated: 13 Jul 2017
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 175,013
Bookmarked: 1
Downloaded: 52
This is an alternative for "What’s the Difference between a Full Index Scan and a Fast Full Index Scan in Oracle?"
|
|
16 May 2021
Updated: 1 Jun 2021
Rating: 3.43/5
Votes: 3
Popularity: 1.64
Licence: CPOL
Views: 6,030
Bookmarked: 2
Downloaded: 53
How to prevent insert for record when maximum number of rows has been reached
|
Visual Basic |
28 Jul 2012
Updated: 27 Jul 2012
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 10,600
Bookmarked: 1
Downloaded: 20
This is an alternative for "Cumulating values with LINQ"
|
|
5 Oct 2015
Updated: 5 Oct 2015
Rating: 4.93/5
Votes: 11
Popularity: 5.13
Licence: CPOL
Views: 19,922
Bookmarked: 20
Downloaded: 567
This tip shows one way to query hierarchical data from a DataTable by using an AsTree() method.
|
|
25 Nov 2011
Updated: 24 Dec 2011
Rating: 4.73/5
Votes: 6
Popularity: 3.68
Licence: CPOL
Views: 22,921
Bookmarked: 3
Downloaded: 0
As a general rule of thumb, I'd suggest browsing http://www.connectionstrings.com/[^] for connection strings against popular data sources.
|
|
1 Apr 2012
Updated: 1 Apr 2012
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 14,520
Bookmarked: 4
Downloaded: 0
This is an alternative for "Getting publishing information for a ClickOnce deployment"
|