Test - Won't Let me Post

Fanboys report for duty.

Moderators: GreyWizzard, pilonv1

Post Reply
User avatar
AgOnNy
Late onset ADHD
Late onset ADHD
Posts: 4665
Joined: 05 Jul 2006 10:53 pm
XBL ID: AgOnNy
PSN ID: AgOnNy
Steam ID: AgOnNy
Location: The Milky Way
Contact:

Test - Won't Let me Post

Post by AgOnNy »

Just a test, trying to post but get error

General Error
SQL ERROR [ mysqli ]

Incorrect string value: '\xF0\x9F\x98\x98)....' for column 'post_text' at row 1 [1366]
User avatar
F for Fake
Member
Member
Posts: 710
Joined: 01 Sep 2007 10:51 pm
XBL ID: Thread Killer
PSN ID: Cool_-_Z
Steam ID: Bell end
Location: Wandin Valley

Re: Test - Won't Let me Post

Post by F for Fake »

You've been quarantined.
You do not have the required permissions to view the files attached to this post.
User avatar
AgOnNy
Late onset ADHD
Late onset ADHD
Posts: 4665
Joined: 05 Jul 2006 10:53 pm
XBL ID: AgOnNy
PSN ID: AgOnNy
Steam ID: AgOnNy
Location: The Milky Way
Contact:

Re: Test - Won't Let me Post

Post by AgOnNy »

Worked it out, the forum didn't like my blowing kiss emoji. This can now be deleted
User avatar
t0mby
Cheats
Posts: 20495
Joined: 04 Jul 2006 01:09 am
XBL ID: GenerationX 360
PSN ID: Weak_Spot
Steam ID: Gen X
Location: 3700
Contact:

Re: Test - Won't Let me Post

Post by t0mby »

Yeah, you can't seem to use emojis from your phone, need to do it the old way, typing by hand.
selfish wrote:Being a massive fanboy and trying to hide it is Lestat's worst bottleneck.
Image
User avatar
unfnknblvbl
googlebomber
googlebomber
Posts: 9788
Joined: 04 Jul 2006 10:17 pm
XBL ID: unfunk
Steam ID: unfnknblvbl
Location: Just behind GameHED

Re: Test - Won't Let me Post

Post by unfnknblvbl »

What's going on? I can't see your posts about emoji
The sky calls to us; if we do not destroy ourselves, we will one day venture to the stars
Madmya
Forum Faggot
Forum Faggot
Posts: 19126
Joined: 04 Jul 2006 01:51 am
XBL ID: Madmya
Steam ID: Madmya
Location: Brisbane

Re: Test - Won't Let me Post

Post by Madmya »

Bump
User avatar
t0mby
Cheats
Posts: 20495
Joined: 04 Jul 2006 01:09 am
XBL ID: GenerationX 360
PSN ID: Weak_Spot
Steam ID: Gen X
Location: 3700
Contact:

Re: Test - Won't Let me Post

Post by t0mby »

Someone should sticky this.
selfish wrote:Being a massive fanboy and trying to hide it is Lestat's worst bottleneck.
Image
User avatar
Twit
Noticeably Unintelligent
Noticeably Unintelligent
Posts: 2877
Joined: 11 Jul 2006 09:50 am
XBL ID: Twit AU
PSN ID: KAKwit
Steam ID: KAKwit

Re: Test - Won't Let me Post

Post by Twit »

Just a test ...

[Click to see hidden content]

Code: Select all

-- obliterate database
declare
	@vcObj varchar(250),
	@vcTable varchar(250),
	@vcSchema varchar(250),
	@temporalTable varchar(250)

-- ...drop foreign key constraints		
select @vcObj = ''
while 1=1
begin
	select @vcObj = min(name) from sysobjects where type='F' and name > @vcObj
	if @vcObj is  null break;
	
	-- ...get name of table corresponding to the foreign key
	select
		@vcTable = S2.name,
		@vcSchema = SS.name
	from
		sysobjects so
		inner join sys.schemas SS on so.uid = ss.schema_id
		inner join sysconstraints C on so.id = C.constid
		inner join sysobjects S2 on C.id = S2.id
	where so.type='F'
	and so.name = @vcObj 
	
	print 'Dropping FK constraint ' + @vcObj
	exec ('alter table ' + @vcSchema + '.[' + @vcTable + '] drop constraint [' + @vcObj + ']')
end

-- ...drop tables
select @vcObj = ''
while 1=1
begin
	select 
		@vcObj = min(ss.name + '.[' + s.name + ']')
	from 
		sysobjects s 
		inner join sys.schemas ss on s.uid = ss.schema_id 
	where 
		s.type='U' 
		and s.name not like 'dt%' 
		and (ss.name + '.' + s.name) > @vcObj
		and ss.name in ('dbo', 'lookup')

	if @vcObj is null break;

	if (select temporal_type from sys.tables where object_id = object_id(@vcObj, 'u')) = 2
	begin
		set @temporalTable = replace(replace(@vcObj, 'dbo.', 'History.'), 'lookup.', 'History.')
		print 'alter table ' + @vcObj  + ' set (SYSTEM_VERSIONING = OFF)'
		print 'drop table ' + @temporalTable
		print 'drop table ' + @vcObj
		exec ('alter table ' + @vcObj  + ' set (SYSTEM_VERSIONING = OFF)')
		exec ('drop table ' + @temporalTable)
		exec ('drop table ' + @vcObj)
	end
	else
	begin
		print 'drop table ' + @vcObj
		exec ('drop table ' + @vcObj)
	end
end

-- ...drop history schema
if exists(select * from sys.schemas where name = 'History')
begin
	drop schema History
end
Post Reply