• Skip to main content
  • Skip to primary sidebar
  • Home
  • About
  • Recommended Readings
    • 2022 Book Reading
    • 2023 Recommended Readings
    • Book Reading 2024
    • Book Reading 2025
  • Supply Chain Management Guide
  • PKM
  • Microsoft Excel

Ali Raza Zaidi

A practitioner’s musings on Dynamics 365 Finance and Operations

Non Defined

How to extract date and time in Tsql

February 27, 2012 by alirazazaidi

I extract date and time  from dateTime filed in TSQL as

 

select

CAST(CONVERT(varchar(8),vm_dm_StudentDet.Dep,112) AS int) DepDate,
Cast(CONVERT(VARCHAR(8),vm_dm_StudentDet.Dep,108) AS time) DepTime,
Cast(CONVERT(VARCHAR(8),vm_dm_StudentDet.Dep,101) as date) dt
from vm_dm_StudentDet

if you test this on current date you use as follow.

select

CAST(CONVERT(varchar(8),GETDATE(),112) AS int) DepDate,
Cast(CONVERT(VARCHAR(8),GETDATE(),108) AS time) DepTime,
Cast(CONVERT(VARCHAR(8),GETDATE(),101) as date) dt

Microsoft SQL Server 2008 Virtual Labs for BI

January 13, 2012 by alirazazaidi

Want to learn BI with Sql Server 2008, you have to go through virtual labs. I found excellent links on msdn virtual lab page

http://msdn.microsoft.com/en-gb/cc138238


SQL Server 2008 R2 Virtual Labs

  • MSDN Virtual Lab: Building and Sharing Your First Report Builder 3.0 Report
  • MSDN Virtual Lab: Building and Sharing Your First SQL Server 2008 R2 PowerPivot for Excel Workbook
  • MSDN Virtual Lab: Building Your First Analytical Reporting Application with the Visual Studio 2010 ReportViewer Control
  • MSDN Virtual Lab: Building Your First Cube with SQL Server 2008 R2 Analysis Services
  • MSDN Virtual Lab: Building Your First Data Mining Model with SQL Server 2008 R2 Analysis Services
  • MSDN Virtual Lab: Building Your First Extract-Transform-Load Process with SQL Server 2008 R2 Integration Services
  • MSDN Virtual Lab: Building Your First Multidimensional Report with SQL Server 2008 R2 Reporting Services
  • MSDN Virtual Lab: Building Your First Relational Report with SQL Server 2008 R2 Reporting Services
  • MSDN Virtual Lab: Building Your First Semantic Model with the ADO.NET Entity Framework
  • MSDN Virtual Lab: Your First Look at SQL Server 2008 R2 Sample Databases
  • MSDN Virtual Lab: Building Your First Queries and Calculations with SQL Server 2008 R2 Analysis Services MDX
  • MSDN Virtual Lab: Building Your First Dashboard with SharePoint 2010 PerformancePoint Services
  • MSDN Virtual Lab: Visualizing Data with Maps in SQL Server 2008 R2 Reporting Services
  • MSDN Virtual Lab: Developing with the Microsoft Chart Controls
  • MSDN Virtual Lab: Working with the SQL Server 2008 R2 StreamInsight Event Flow Debugger
  • MSDN Virtual Lab: Creating and Deploying a Data-Tier Application
  • MSDN Virtual Lab: Querying Events in SQL Server 2008 R2 StreamInsight using LINQ
  • MSDN Virtual Lab: Working with the SQL Server 2008 R2 StreamInsight Samples
  • MSDN Virtual Lab: Creating Reports with SQL Server PowerPivot for Excel 2010
  • MSDN Virtual Lab: Developing KPI’s and Scorecards with SharePoint 2010 PerformancePoint Services
  • MSDN Virtual Lab: Managing Excel 2010 PowerPivot Solutions in SharePoint 2010
  • MSDN Virtual Lab: Data Tier Applications in SQL Server 2008 R2 and Visual Studio 2010
  • MSDN Virtual Lab: Developing Reports and Dashboards with SharePoint 2010 PerformancePoint Services
  • MSDN Virtual Lab: Defining DAX Calculations with Excel 2010 PowerPivot
  • MSDN Virtual Lab: Loading and Preparing Data for Analysis in SQL Server PowerPivot for Excel 2010
  • MSDN Virtual Lab: Embedded Reporting in Applications with SQL Server 2008 R2 Reporting Services and Visual Studio 2010
  • MSDN Virtual Lab: Working with ATOM Data Feeds in SQL Server 2008 R2 Reporting Services
  • MSDN Virtual Lab: Developing and Consuming Report Libraries in SQL Server 2008 R2 Reporting Services
  • MSDN Virtual Lab: Managing Change in Data Tier Application Projects in Visual Studio 2010
  • MSDN Virtual Lab: PowerPivot in SQL Server 2008 R2

Effort is important, but knowing where to make an effort makes all the difference

October 14, 2011 by alirazazaidi

Effort is important, but knowing where to make an effort makes all the difference, read story below:

 

A giant ship engine failed. The ship’s owners tried one expert after another, but none of them could figure but how to fix the engine.

Then they brought in an old man who had been fixing ships since he was a young. He carried a large bag of tools with him, and when he arrived, he immediately went to work. He inspected the engine very carefully, top to bottom.

Two of the ship’s owners were there, watching this man, hoping he would know what to do. After looking things over, the old man reached into his bag and pulled out a small hammer. He gently tapped something. Instantly, the engine lurched into life. He carefully put his hammer away. The engine was fixed!
A week later, the owners received a bill from the old man for ten thousand dollars.
“What?!” the owners exclaimed. “He hardly did anything!”
So they wrote the old man a note saying, “Please send us an itemized bill.”

The man sent a bill that read:
Tapping with a hammer…… . …….. …….. $ 2.00
Knowing where to tap……… …….. ……… $ 9,998.00

Moral of story is . . . . . . . . …. .. .

Effort is important, but knowing where to make an effort makes all the difference

Biztalk 2010 virtual Lab Links

June 9, 2011 by alirazazaidi

With reference to virtual lab page

MSDN Virtual Lab: BizTalk Server 2010: Examining a BizTalk Application New!
MSDN Virtual Lab: BizTalk Server 2010: Creating a BizTalk Orchestration New!
MSDN Virtual Lab: BizTalk Server 2010: Creating Transactional Business Processes New!
MSDN Virtual Lab: BizTalk Server 2010: Monitoring Business Activity New!
MSDN Virtual Lab: BizTalk Server 2010: Automating Business Processes New!
MSDN Virtual Lab: BizTalk Server 2010: Calling a Web Service from an Orchestration New!
MSDN Virtual Lab: BizTalk Server 2010: Creating a BizTalk Map New!
MSDN Virtual Lab: BizTalk Server 2010: Creating and Configuring BizTalk Schemas New!
MSDN Virtual Lab: BizTalk Server 2010: Creating Pipelines New!
MSDN Virtual Lab: BizTalk Server 2010: Deploying and Managing BizTalk Applications New!
MSDN Virtual Lab: BizTalk Server 2010: Integrating with Adapters New!
MSDN Virtual Lab: BizTalk Server 2010: Routing BizTalk Messages New!

What’s new in BizTalk 2010

April 12, 2011 by alirazazaidi

I found following video excellent reference . Sorry for silver light plug-in require for watch this video


Get Microsoft Silverlight

Error 5009.Registration of BAM performance counters failed. Return code -1.

September 7, 2010 by alirazazaidi

While installing biztak 2009 at windows 7 on my personal computer i got following error

Error 5009.Registration of BAM performance counters failed. Return code -1.

, after searching in google, i found following solution

Run the command “lodctr /r ” as administrator. (This rebuilds the performance counter registry.)

how to get year from date in pl sql

March 17, 2009 by alirazazaidi

pl Sql has function “Extract” this functions works wonders. I used it at many places in my application , i write some samples here

Years

select EXTRACT(YEAR FROM DATE ‘2008-3-17’)YEAR from dual;

Months

select EXTRACT(Month FROM DATE ‘2009-3-17’)Months from dual;

Day

select EXTRACT(day FROM DATE ‘2009-3-17′)Days from dual;

and how i used it my query

select * from tblSales_V where salesId in (select SalesId from OUTLET_SALE_V where outlet_Id =’001198’)
and EXTRACT(YEAR FROM issue_Date) = 2005

chears

How to open webform in new popup brower window from code behind

January 31, 2009 by alirazazaidi

PopUp form can be open through two ways from code behind, you can use both way , parameters can be send through Query string as well


protected void Button1_Click(object sender, EventArgs e){
OpenNewWindow(”test.aspx”);
OpenNewWindowUsingResponse("test.aspx");
}

public void OpenNewWindow(string url)
{
ClientScript.RegisterStartupScript(this.GetType(), “newWindow”, String.Format(”<script>window.open(’{0}’);</script>”, url));
}

Public Void OpenNewWindowUsingResponse(string Url)
{
Response.Write("<scr" + "ipt>rn");
Response.Write("open('" + Url + "');rn");
Response.Write("</scr" + "ipt>");

}

Both Works fine

Best Wishes for Eid ul Adha

December 19, 2007 by alirazazaidi

eid_card_for_eid_ul_adha.jpg
Best wishes for Eid ul Adha

Primary Sidebar

About

I am Dynamics AX/365 Finance and Operations consultant with years of implementation experience. I has helped several businesses implement and succeed with Dynamics AX/365 Finance and Operations. The goal of this website is to share insights, tips, and tricks to help end users and IT professionals.

Legal

Content published on this website are opinions, insights, tips, and tricks we have gained from years of Dynamics consulting and may not represent the opinions or views of any current or past employer. Any changes to an ERP system should be thoroughly tested before implementation.

Categories

  • Accounts Payable (2)
  • Advance Warehouse (2)
  • Asset Management (3)
  • Azure Functions (1)
  • Books (6)
  • Certification Guide (3)
  • Customization Tips for D365 for Finance and Operations (62)
  • D365OF (59)
  • Data Management (1)
  • database restore (1)
  • Dynamics 365 (58)
  • Dynamics 365 for finance and operations (135)
  • Dynamics 365 for Operations (165)
  • Dynamics AX (AX 7) (134)
  • Dynamics AX 2012 (274)
  • Dynamics Ax 2012 Forms (13)
  • Dynamics Ax 2012 functional side (16)
  • Dynamics Ax 2012 Reporting SSRS Reports. (31)
  • Dynamics Ax 2012 Technical Side (52)
  • Dynamics Ax 7 (65)
  • Exam MB-330: Microsoft Dynamics 365 Supply Chain Management (7)
  • Excel Addin (1)
  • Favorites (12)
  • Financial Modules (6)
  • Functional (8)
  • Implementations (1)
  • Lifecycle Services (1)
  • Logseq (4)
  • Management Reporter (1)
  • Microsoft Excel (4)
  • MS Dynamics Ax 7 (64)
  • MVP summit (1)
  • MVP summit 2016 (1)
  • New Dynamics Ax (19)
  • Non Defined (9)
  • Note taking Apps (2)
  • Obsidian (3)
  • Personal Knowledge Management (2)
  • PKM (13)
  • Power Platform (6)
  • Procurement (5)
  • procurement and sourcing (5)
  • Product Information Management (4)
  • Product Management (6)
  • Production Control D365 for Finance and Operations (10)
  • Sale Order Process (10)
  • Sale Order Processing (9)
  • Sales and Distribution (5)
  • Soft Skill (1)
  • Supply Chain Management D365 F&O (3)
  • Tips and tricks (278)
  • Uncategorized (165)
  • Upgrade (1)
  • Web Cast (7)
  • White papers (4)
  • X++ (7)

Copyright © 2025 · Magazine Pro On Genesis Framework · WordPress · Log in