USE [SRO_VT_ACCOUNT]
/* B Y L E A N D R O N u k e r t u b e */
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE procedure [dbo].[_GetAccountData]
@CharName VARCHAR(30)
AS
BEGIN
SELECT
[SRO_VT_SHARD].[dbo].[_Char].[CharName16]as'Nome do Char',
[SRO_VT_ACCOUNT].[dbo].[TB_User].[StrUserID]AS 'Login',
[SRO_VT_ACCOUNT].[dbo].[TB_User].[password]as 'Senha',
[SRO_VT_ACCOUNT].[dbo].[TB_User].[name]as 'Nome',
[SRO_VT_ACCOUNT].[dbo].[TB_User].[Email]as 'E-Mail',
[SRO_VT_SHARD].[dbo].[_Char].[CharID]as 'Char ID',
[SRO_VT_SHARD].[dbo].[_User].[UserJID]AS 'Account JID',
[SRO_VT_ACCOUNT].[dbo].[TB_User].[sec_content] as 'User Security Group'
FROM [SRO_VT_SHARD].[dbo].[_Char] INNER JOIN
[SRO_VT_SHARD].[dbo].[_User] ON
[SRO_VT_SHARD].[dbo].[_Char].[CharID]=
[SRO_VT_SHARD].[dbo].[_User].[CharID]
INNER JOIN
[SRO_VT_ACCOUNT].[dbo].[TB_User] ON
[SRO_VT_SHARD].[dbo].[_User].[UserJID] =
[SRO_VT_ACCOUNT].[dbo].[TB_User].[JID]
WHERE [SRO_VT_SHARD].[dbo].[_Char].[CharName16]LIKE @CharName
END
GO
exec
كود PHP:
USE [SRO_VT_ACCOUNT]
Exec [dbo].[_GetAccountData] 'PkMaximum'
المشاركة الأصلية كتبت بواسطة Iron.Man
عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]
كود PHP:
USE [SRO_VT_ACCOUNT] /* B Y L E A N D R O N u k e r t u b e */ GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE procedure [dbo].[_GetAccountData] @CharName VARCHAR(30) AS BEGIN SELECT [SRO_VT_SHARD].[dbo].[_Char].[CharName16]as'Nome do Char', [SRO_VT_ACCOUNT].[dbo].[TB_User].[StrUserID]AS 'Login', [SRO_VT_ACCOUNT].[dbo].[TB_User].[password]as 'Senha', [SRO_VT_ACCOUNT].[dbo].[TB_User].[name]as 'Nome', [SRO_VT_ACCOUNT].[dbo].[TB_User].[Email]as 'E-Mail', [SRO_VT_SHARD].[dbo].[_Char].[CharID]as 'Char ID', [SRO_VT_SHARD].[dbo].[_User].[UserJID]AS 'Account JID', [SRO_VT_ACCOUNT].[dbo].[TB_User].[sec_content] as 'User Security Group'
FROM [SRO_VT_SHARD].[dbo].[_Char] INNER JOIN [SRO_VT_SHARD].[dbo].[_User] ON [SRO_VT_SHARD].[dbo].[_Char].[CharID]= [SRO_VT_SHARD].[dbo].[_User].[CharID] INNER JOIN [SRO_VT_ACCOUNT].[dbo].[TB_User] ON [SRO_VT_SHARD].[dbo].[_User].[UserJID] = [SRO_VT_ACCOUNT].[dbo].[TB_User].[JID] WHERE [SRO_VT_SHARD].[dbo].[_Char].[CharName16]LIKE @CharName END GO
exec
كود PHP:
USE [SRO_VT_ACCOUNT] Exec [dbo].[_GetAccountData] 'PkMaximum'
تسلم
التعديل الأخير تم بواسطة Destructions ; 16-09-2017 الساعة 10:23 AM