Showing posts with label Sql Server. Show all posts
Showing posts with label Sql Server. Show all posts

Wednesday, June 12, 2019

MySQL Basic Operations

Here are some basic operations need to keep in mind for the MySQL beginners jumping into it from MS-SQL
- First things is, need to have MySQL Workbench to be installed for the same
- For MYSql most of the syntaxes remains same but still there are some points to note and are belows.

(1) ";" required for multiple query in batch
- For query to execute, it requires ";" at the end of statement. Also, same would be apply if there are multiple queries are there .
- for e.g.
MS-SQL - Select * From Table1
Select * From Table2
MySQL  - Select * From Table1;
Select * From Table2;

(2) Finding top item
- With respect to fetch top 1 item, here in MySQL same would be fetched by limit
- for e.g
MS-SQL - Select top 1 * from Table
MySQL  - Select * From Table limit 1;

(3) Call Stored Procedure
MS-SQL - exec procname
MySQL  - CALL `dbname`.`procname`(parameter, if any);

(4) Get Current Date
MS-SQL - GETDATE()
MySQL  - NOW()

(5) Null Check for field
MS-SQL - ISNULL(field, 'default value')
MySQL  - IFNULL(field. 'default value')

(6) If Exist: 
MS-SQL - 
If Exists(Select ID From Table Where ID = 10)
Begin
End
Else
Begin
End
MySQL
if exists(select Id from users where Id=_UserId) then

else

end If;

(7) Temporary Table
MS-SQL - There are couple of way to do so
- Temporary CREATE TABLE #TableName
(
column1 VARCHAR(50) 
)
- Global Temporary Table
SELECT column1 INTO ##TempTable

MySQL
- CREATE TEMPORARY TABLE TempTable

Friday, October 23, 2009

Some Differences

Here is some links of the differences.
- ASP.NET
(1) Difference .net 2.0, 3.0 and 3.5 : .NET Base Class Library : .NET Development : MSDN Forums
(2) Difference B/w ItemCreated & ItemDataBound - ASP.NET Forums 
(3) VB/CSharp Difference
(4) Difference Server.Transfer and Response.Redirect 
(5) C# and VB.NET Comparison Cheat Sheet: ASP Alliance
(6) - what is the difference b/w abstract class and interface?
     - CodeProject: Abstract Class versus Interface. Free source code and programming help
(7) Difference between the out and ref type parameter - Vikram Lakhotia(8) - StringBuilder and String Concatenation
     - .NET Interview Questions. What is the difference between String and StringBuilder in .NET?
(9) - Difference between a constant and readonly variables/fields : (constant vs readonly) - Abhi's den...
     - const, static and readonly at C# Online.NET (CSharp-Online.NET)
(10) Application vs. AppDomain - Scott Forsyth's Blog
(11) difference between internal and protected internal.NET Forums
(12)
Difference between Web Service and WCF Service
(13) Tech Tips, Tricks & Trivia: ASP.NET MVC vs. Web Forms
(14) Difference between Arraylist and Generic List

- Sql Server

(1) SCOPE_IDENTITY() vs. @@IDENTITY diffefence
(2) SQL SERVER - Difference and Explanation among DECIMAL, FLOAT and NUMERIC « Journey to SQL Authority with Pinal Dave 
(3) SQL SERVER - Comparison : Similarity and Difference #TempTable vs @TempVariable « Journey to SQL Authority with Pinal Dave 
(4) Frequently Asked Questions - SQL Server Data Types

- OOPS
(1) Difference between struct and class in C#: (struct vs class)? 
(2) SQL 7.0 Vs 2000 Comparison
(3) Differences between SET and SELECT in SQL Server : Narayana Vyas Kondreddi's home page


- LINQ

(1) Ben Hall's Blog: Linq to SQL Stored procedure vs Functions

Wednesday, September 23, 2009

Sql Server Reporting Services

SQL Server Reporting Services is a comprehensive, server-based solution that enables the creation, management, and delivery of both traditional, paper-oriented reports and interactive, Web-based reports. An integrated part of the Microsoft Business Intelligence framework, Reporting Services combines the data management capabilities of SQL Server and Microsoft Windows Server with familiar and powerful Microsoft Office System applications to deliver real-time information to support daily operations and drive decisions.

- Here is some links related to the installation of the Sql Server Reporting Services.
(1) Considerations for Installing Reporting Services

(2) InformIT: Installing and Configuring SQL Server Reporting Services > Installation Pathways and Preparation

(3) SQL Server 2005 Reporting Services (SSRS) Installation and Configuration for SCMDM 2008 SP1 Reporting Services

(4) Installing Sql Server 2000 Reporting Services on Server 2003

(5) SQL Server Reporting Services

(6) Configuration of SQL Server 2005 Reporting Services for IT Analytics Solution

(7) How to Install SQL Server 2005 Reporting Services

(8) How to install SQL Server 2005 Reporting Services on a Windows Vista-based computer

(9) Installing SQL Server 2005 Reporting Service on IIS 7

(10) Installing SQL Server 2005 Reporting Services on Windows Server 2008

(11) Installing SQL Server 2005 Reporting Services on a Windows Vista

(12) Installing Reporting Services on SQL Server 2005 Express Edition

(13) FIX: A hotfix is available for SQL Server 2000 Reporting Services Service Pack 2

(14) Problem in installing SQL server reporting services 2005 - ASP.NET Forums

(15) Install configure and troubleshooting sql server reporting services 2005

- Here is some more links for the introduction, tips n tricks about Sql Server Reporting Services.
(1) Beginning SQL Server 2005 Reporting Services Part 1

(2) Beginning SQL Server 2005 Reporting Services Part 2

(3) create chart in sql server 2005 reporting services Part 3

(4) Beginning SQL Server Reporting Services Part 4

(5) Data Points: Report Controls in SQL Server 2005 Reporting Services

(6) CodeProject: Integrating Reporting Services 2005 Into a Web

(7) Reporting Services Tips, Tricks and Funkiness

(8) Toolbar of ReportViewer Control displaying incorrectly in Safari.NET Forums

(9) Planning for Browser Support

(10) Browser Support in Reporting Services

(11) How to: Add a Page Break (Reporting Services)



(12) Creating a Report Template using BIDS (Visual Studio 2005)


(13) Data Points: Report Controls in SQL Server 2005 Reporting Services


(14) Understanding Pagination in Reporting Services























- Unable to load client print control.