Powershell Day 10
Day 10 Working with Directory and Registry As you know, Powershell works with command prompt, and you know it works...
2011-04-10
307 reads
Day 10 Working with Directory and Registry As you know, Powershell works with command prompt, and you know it works...
2011-04-10
307 reads
Day 9 Process and Service Service: For Powershell we can also work with services. You can see which all services...
2011-04-09
379 reads
Day 8 Event Viewver Event log is a very important trace and diagnose the activity on the system. Using Event...
2011-04-08
226 reads
Day 7 – Security With great power comes great responsibility.—Stan Lee, The Amazing Spiderman So far We have discussed simple general...
2011-04-07
222 reads
Day 6 Functions and error handling As everyone aware of what is function, so no need to give therotical infomration...
2011-04-06
227 reads
Day 5 Programming in Powershell Part 3 Now as you know all information, in this blog we will look for...
2011-04-05
350 reads
Day 4 Programming in Powershell Part 2 Now we got some basic information about shell programming operators and other stuff....
2011-04-04
452 reads
Day 3 Programming in Powershell Part 1 Now you got some good basic information about Powershell, and some basic commands...
2011-04-03
1,102 reads
Day 2 Introduction to Windows Powershell. Windows Powershell is a very powerful shell script to interact with windows. Using windows...
2011-04-02
1,474 reads
Day 1 Introduction to Powershell I got inspired by great people like Paul Randal and Glenn Berry and decided to...
2011-04-01
840 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
WhatsApp CS 628218520154 Jl. Suryopranoto No.40, RT.12/RW.7, Petojo Utara, Kecamatan Gambir, Kota Jakarta Pusat,...
WhatsApp CS 628218520154 Jl. Pegangsaan Timur No.1, Cikini, Kec. Menteng, Kota Jakarta Pusat, Daerah...
WhatsApp CS 628218520154 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru, Kecamatan Sawah...
I have some data in a SQL Server 2025 database. It looks like this for the dbo.Customer table:
CustomerID CustomerName PreferredName 1 Steve Steve 2 Andy Andy 3 Brian Brian 4 Allan Allan 5 Devin Devin 6 Steve Steve 7 Sally SallyI want to detect which names have a single trailing space. The CustomerName is a varchar() and the PreferredName is a CHAR(). Does this query detect the problem rows?
SELECT
CustomerID,
CustomerName,
PreferredName
FROM Customer
WHERE CustomerName <> RTRIM(CustomerName)
OR PreferredName <> RTRIM(PreferredName); See possible answers