Microsoft
Software
Hardware
Network
Question : SQL 2005 SQL Syntax Help Needed
The below mentioned field has to be 10 characters exactly. I need the first 4 characters from the Ledger field in both of my tables and I need to pad the space to make up the last 2 characters.
LEFT(fac.Ledger,4) + LEFT(fin.Ledger,4) AS [SubAccount No]
I tried this and got back an error indicating I had the syntax wrong. I think I am close, but need a hand.
LEFT(ISNULL(fac.Ledger,'')
+ LEFT(ISNULL(fin.Ledger,'')
+ SPACE(10),10) AS [SubAccount No],
Answer : SQL 2005 SQL Syntax Help Needed
Try this:
rpm -qa --queryformat '%{DESCRIPTION}\n' bash
Random Solutions
Setting up FTP Users on IIS 7.5
Icon causing trouble with spell checker
Can't access Exchange 2003 OWA from Internet
Dynamic Color
How can i fill 1D array from 2D array and how can i sort 1D array?
How to commit changes of a Typed Dataset to database at once
Getting group membership from LDAP
Windows Update site fails to load
VS 2003 with .NET Framework 3.5
Speeding up a simple UPDATE in Oracle SQL