Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,122 members, 7,953,469 topics. Date: Thursday, 19 September 2024 at 04:52 PM

SQL STUFF Function Equivalent For Microsoft Access Database - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / SQL STUFF Function Equivalent For Microsoft Access Database (1892 Views)

I Wanna Learn Coding And Microsoft Access In Ibadan.. / Is Microsoft Access Still Relevant Today? / Help Him Create Interdependent Fields Microsoft Access (2) (3) (4)

(1) (Reply)

SQL STUFF Function Equivalent For Microsoft Access Database by skoten(m): 1:27pm On Jul 30, 2015
Hi guys,please I need someone to assist me on SQL STUFF function equivalent for Microsoft Access Database

For example; I have this number 1234567890 and i want to write a query that will update it to the 123/4/5/67890.
The following STUFF function will do that.

DECLARE @Acct_No nvarchar(100),@Acct_No nvarchar(50)

set @Acct_No = '1234567890'

select STUFF (STUFF(STUFF(@Acct_No, 4, 0, '/'), 6,0, '/'), 8,0, '/')


Thanks guys!


But this STUFF function doesn't work or update for Microsoft Access Database....i tried using REPLACE (but this won't work)

Please someone should help with Microsoft Access Database equivalent.

(1) (Reply)

Programmers In Da House Pls I Nid Ur Help / JESUS LOVES YOU SO MUCH. GIVE YOUR LIFE TO JESUS. JOHN3:16 / Free VTU Portal Creator With Multi-level System!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.