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
Firewall Service won't start after I applied Web access policy wizard
restore from DB?
Ubuntu 10.04 startup script
Java Applet Client - Security Exception
Determine average resistance!
DMZ access to Public URL which NAT'ed to internal OWA host
Server 2008 R2 DC File Permissions
Calendar Control in Excel 2003 VBA
Wrong favicons displayed on desktop & favs
CKEditor: How to update textarea using javascript?