SELECT SQL Select SQL and upgrade your performance

  • SELECT SQL
  • MSSQL
  • MySQL
  • Utilities
  • CSV to SQL
  • Contact
0
DateAdd and Leap Year issue
DateAdd and Leap Year issue
There is an issue with Leap Year and DateAdd function that can appear if you want to compare two dates from different years and using some date value ...
How to SELECT Min/Max value with associated column from same row
How to SELECT Min/Max value with associated column from same row
When you need select Min or Max value from table with one column, it's easy SQL task. A little harder is same request when you want to find minimum va...
Solved - Arithmetic overflow error converting float to data type numeric
Solved - Arithmetic overflow error converting float to data type numeric
Are you trying convert float to numeric and you get "Arithmetic overflow error converting float to data type numeric" error? This could happen even if...
How to recover unsaved T-SQL or previous version of altered view or store procedure
How to recover unsaved T-SQL or previous version of altered view or store procedure
When you alter view or stored procedure and you realize, previous version wasn't saved and you need it. Or you want recover SQL script immediately aft...
How to find and remove hidden characters and invisible whitespace when LTrim, RTrim not work
How to find and remove hidden characters and invisible whitespace when LTrim, RTrim not work
Sometimes it can happen, that you compare two strings, which looks exactly sames, but they are processed as not equal. Also when you use SELECT DISTIN...
 
 
Execute SQL Task Error: 0xC002F210, Problems with the query,
Execute SQL Task Error: 0xC002F210, Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly
3 most often reason, when you are using variables in Execute SQL task inside SSIS and get following error: Error: 0xC002F210 ... , Execute SQL Task: ...
How to use a variable inside SQL in SSIS Data Flow Tasks
How to use a variable inside SQL in SSIS Data Flow Tasks
Sometimes you need to use a variable inside SQL in SSIS Data Flow Tasks. For example, you may want to select TOP x records in a periodically scheduled...
Solved - Retrieving the COM class factory for component with CLSID in SSIS
Solved - Retrieving the COM class factory for component with CLSID in SSIS
I get strange error during redeveloping one SSIS. When I tried run some SQL task, finally such an easy one with "SELECT 1", I always received same err...
Loop through ADO recordset in SSIS
Loop through ADO recordset in SSIS
For some solutions in SSIS you may need to go over all records from some SELECT and each record use in some subqueries. In this case you want loop rec...
 
 
A couple of MySQL DML things I did not know
A couple of MySQL DML things I did not know
As I'm coming from Microsoft SQL Server environment, working with MySQL is constantly surprising me in many ways, both good and bad :) In contrast to ...
Read this Entry
SQL script to create intro image by parsing article text in Joomla 3.x
SQL script to create intro image by parsing article text in Joomla 3.x
When I migrated one of my web site from Joomla 1.5 into Joomla 3.3 I found there is finally nice feature in Joomla 3.x called Images and Links, which ...
Read this Entry
How to merge 2 tables into one result in MySQL
How to merge 2 tables into one result in MySQL
Today I get interesting question. How to merge in MySQL two tables, where could be same primary key and different values. Result should be as select f...
Read this Entry
 
 

OUTPUT command in MSSQL 2005

Details
Written by Stanislav Duben
Published: 29 August 2007
Parent Category: MSSQL

OUTPUT Command in MSSQL 2005In MSSQL 2005 is new T-SQL command OUTPUT, that was used only as output parameters in previous MSSQL version. Now you can use it in T-SQL commands to make data changes and see results by one command without using Triggers.

Read more: OUTPUT command in MSSQL 2005 5 comments
Last Updated: 22 December 2012
Hits: 34010

Search text in Triggers and Store Prodedures

Details
Written by Stanislav Duben
Published: 24 August 2007
Parent Category: MSSQL

Search text in store procedures and triggersIf you want search text not only in name of triggers and store procedures, using search object in query analyzer is not enough and in MS SQL 2005 there isn't any search object function. So you need other way how to do it.

Read more: Search text in Triggers and Store Prodedures 1 comment
Last Updated: 22 December 2012
Hits: 59244

Object search in MSSQL 2005

Details
Written by Stanislav Duben
Published: 20 July 2007
Parent Category: MSSQL

Object search in MSSQL 2005In query analyzer for Microsoft SQL 2000 you can search objects easily, just open Query Analyzer and press F4. In Microsoft SQL Server Management Studio for SQL 2005, this search functionality has been removed. (Microsoft said that nobody uses this function so it's useless), no comment for this reason. We need this functionality, so how to do it?

Read more: Object search in MSSQL 2005 3 comments
Last Updated: 22 December 2012
Hits: 31301

Convert online CSV to SQL query

Details
Written by Stanislav Duben
Published: 20 July 2007
Parent Category: Utilities
Sample ImageHere is simple online convertor from CSV to SQL. You just insert CSV data to text area and table name. Script will generate SQL insert query for all records from CSV.
Read more: Convert online CSV to SQL query 6 comments
Last Updated: 22 December 2012
Hits: 96141

How to make LIMIT (from, to) in MSSQL 2005

Details
Written by Stanislav Duben
Published: 20 July 2007
Parent Category: MSSQL

Sample ImageLots of developers complain, that Microsoft SQL hasn't something similar to LIMIT(from, to) as MySQL has. In past time there was a solution by SELECT TOP n and inserted SELECT TOP n- With new T-SQL commands in Miscrosoft SQL Server 2005  is situation simpler.

Read more: How to make LIMIT (from, to) in MSSQL 2005 22 comments
Last Updated: 22 December 2012
Hits: 98001

Page 5 of 5

  • Start
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  • End

Contact

Travel Guides

  • Travel Guides
  • Atlanta Travel Guide
  • Berlin Travel Guide
  • Brazil Travel Guide
  • Bulgaria Travel Guide
  • Caribbean Travel Guide
  • Detroit Travel Guide
  • Egypt Travel Guide
  • Hong Kong Travel Guide
  • Japan Travel Guide
  • Madrid Travel Guide
  • Miami Travel Guide
  • New York Travel Guide
  • Norway Travel Guide
  • Prague Travel Guide
  • Rome Travel Guide
  • Shanghai Travel Guide
  • Slovakia Travel Guide
  • Spain Travel Guide
  • Sydney Travel Guide
  • Tijuana Travel Guide
TOPlist
Powered by T3 Framework