4S SQL Server management

Newbie Spellweaver
Joined
Jan 9, 2025
Messages
24
Reaction score
66
Hey,


If you’re tired of cracking Navicat or want a free SQL Server manager, I built a small tool and released it publicly.


Originally made for 4Story, but works with any SQL Server database.




Features​


  • Connect to SQL Server
  • Browse databases, tables, functions
  • Edit table data inline
  • Add / delete rows
  • Copy tables between databases
  • Execute functions with parameters
  • Dark theme function editor
  • Multi-tab support
  • Portable (no install)

🔥 Smart Search​


  • Search table names, functions and actual table data
  • Fuzzy matching + typo suggestions
  • Shows exact table / column / value match



Download / Source​


GitHub:



Releases:





Tech​


  • Electron 39.2.7 + React 19
  • Fluent UI
  • Windows x64


Windows Defender may false-flag it (Electron). Source code is public.


Feedback & feature requests welcome.


Serban [pnk] 🚀


UPDATE: CHANGELOG

Pagination System​

  • Table Pagination: Added pagination controls for tables with more than 1000 rows
  • Previous/Next Buttons: Navigate through large datasets easily
  • Page Counter: Shows current page, total pages, and total row count
  • Smart Loading: Only loads 1000 rows per page for optimal performance

Context Menu System (Right-Click)​

  • Universal Context Menus: Right-click anywhere for quick actions
    • Works in tree view (sidebar)
    • Works in grid view
    • Works in list view
    • Works in details view
  • Tables Context Menu:
    • Open Table
    • Copy Table
    • Paste Table (when available)
    • Rename Table
    • Delete Table
  • Functions Context Menu:
    • Open Function
    • Rename Function
    • Delete Function
  • Database Context Menu:
    • Backup Database
    • Paste Table (when available)

Keyboard Shortcuts​

  • Ctrl+F: Open Smart Search from anywhere
  • Ctrl+N: Create New Table (when in tables view)
  • Ctrl+Shift+N: Create New Function (when in functions view)
  • Escape: Close context menus

CRUD Operations​

  • Create Table: Visual table designer with interactive column editor
    • Add/remove columns dynamically
    • Configure data types, length, primary key, identity, NOT NULL
    • Schema and table name selection
    • Column-by-column configuration
  • Create Function/Procedure: Full SQL editor for creating routines
    • Syntax examples provided
    • Supports both functions and procedures
  • Delete Functions: Delete stored procedures and functions from all views
  • Enhanced Delete: Delete buttons for both tables and functions in all view modes

🔍 Search Improvements​

  • Full Table Search: Search now queries entire table, not just current page
  • Server-Side Search: Filtering performed at database level for better performance
  • All Columns Search: Searches across all columns automatically
  • Clear Search Button: Quickly clear search filters
  • Result Counter: Shows "Filtered" vs "Total" counts when searching

🎨 UI/UX Improvements​

  • Larger Window: Increased from 1400x900 to 1600x1000 pixels for better visibility
  • Optimized Dialogs: All dialogs properly sized to avoid unnecessary scrollbars
    • Create Table Dialog: 700-900px width, 90vh max height
    • Create Function Dialog: 700-900px width, 90vh max height
    • Smart Search Dialog: 650-850px width, 90vh max height
    • Run Function Dialog: 500-800px width, 90vh max height
    • All other dialogs optimized
  • Better Function Editor: SQL editor increased from 400px to 500px minimum height
  • Cleaner Toolbar: Removed redundant buttons, moved to context menus
  • Professional Menus: Native-looking context menus with icons, separators, and hover effects
  • Optimized Content Areas: Better use of vertical space with adjusted max heights

🔒 Database Filtering​

  • System Databases Hidden: Filters out master, tempdb, model, msdb automatically
  • User Databases Only: Cleaner interface showing only your custom databases

🐛 Bug Fixes​

  • Fixed table search to work across entire dataset instead of just loaded page
  • Fixed pagination to properly track and display total row counts
  • Improved copy/paste workflow with better user feedback
  • Fixed paste functionality - can now paste to any database via context menu
  • Resolved issues with context menu positioning

🏗️ Technical Improvements​

  • Backend pagination with offset/limit support
  • Server-side WHERE clause filtering for searches
  • Enhanced IPC handlers for CRUD operations (create-table, create-function, delete-function)
  • Context menu state management system
  • Global keyboard event handling
  • Improved data flow for table operations
 

Attachments

  • 1 - 4S SQL Server management - RaGEZONE Forums
    1.webp
    85.5 KB · Views: 88
  • 2 - 4S SQL Server management - RaGEZONE Forums
    2.webp
    68.2 KB · Views: 89
  • 3 - 4S SQL Server management - RaGEZONE Forums
    3.webp
    75.6 KB · Views: 88
  • 9 - 4S SQL Server management - RaGEZONE Forums
    9.webp
    15.8 KB · Views: 74
  • 7 - 4S SQL Server management - RaGEZONE Forums
    7.webp
    16.6 KB · Views: 82
Last edited:
UPDATE TIME
Changelog 1.10

Pagination System​

  • Table Pagination: Added pagination controls for tables with more than 1000 rows
  • Previous/Next Buttons: Navigate through large datasets easily
  • Page Counter: Shows current page, total pages, and total row count
  • Smart Loading: Only loads 1000 rows per page for optimal performance

Context Menu System (Right-Click)​

  • Universal Context Menus: Right-click anywhere for quick actions
    • Works in tree view (sidebar)
    • Works in grid view
    • Works in list view
    • Works in details view
  • Tables Context Menu:
    • Open Table
    • Copy Table
    • Paste Table (when available)
    • Rename Table
    • Delete Table
  • Functions Context Menu:
    • Open Function
    • Rename Function
    • Delete Function
  • Database Context Menu:
    • Backup Database
    • Paste Table (when available)

Keyboard Shortcuts​

  • Ctrl+F: Open Smart Search from anywhere
  • Ctrl+N: Create New Table (when in tables view)
  • Ctrl+Shift+N: Create New Function (when in functions view)
  • Escape: Close context menus

CRUD Operations​

  • Create Table: Visual table designer with interactive column editor
    • Add/remove columns dynamically
    • Configure data types, length, primary key, identity, NOT NULL
    • Schema and table name selection
    • Column-by-column configuration
  • Create Function/Procedure: Full SQL editor for creating routines
    • Syntax examples provided
    • Supports both functions and procedures
  • Delete Functions: Delete stored procedures and functions from all views
  • Enhanced Delete: Delete buttons for both tables and functions in all view modes

🔍 Search Improvements​

  • Full Table Search: Search now queries entire table, not just current page
  • Server-Side Search: Filtering performed at database level for better performance
  • All Columns Search: Searches across all columns automatically
  • Clear Search Button: Quickly clear search filters
  • Result Counter: Shows "Filtered" vs "Total" counts when searching

🎨 UI/UX Improvements​

  • Larger Window: Increased from 1400x900 to 1600x1000 pixels for better visibility
  • Optimized Dialogs: All dialogs properly sized to avoid unnecessary scrollbars
    • Create Table Dialog: 700-900px width, 90vh max height
    • Create Function Dialog: 700-900px width, 90vh max height
    • Smart Search Dialog: 650-850px width, 90vh max height
    • Run Function Dialog: 500-800px width, 90vh max height
    • All other dialogs optimized
  • Better Function Editor: SQL editor increased from 400px to 500px minimum height
  • Cleaner Toolbar: Removed redundant buttons, moved to context menus
  • Professional Menus: Native-looking context menus with icons, separators, and hover effects
  • Optimized Content Areas: Better use of vertical space with adjusted max heights

🔒 Database Filtering​

  • System Databases Hidden: Filters out master, tempdb, model, msdb automatically
  • User Databases Only: Cleaner interface showing only your custom databases

🐛 Bug Fixes​

  • Fixed table search to work across entire dataset instead of just loaded page
  • Fixed pagination to properly track and display total row counts
  • Improved copy/paste workflow with better user feedback
  • Fixed paste functionality - can now paste to any database via context menu
  • Resolved issues with context menu positioning

🏗️ Technical Improvements​

  • Backend pagination with offset/limit support
  • Server-side WHERE clause filtering for searches
  • Enhanced IPC handlers for CRUD operations (create-table, create-function, delete-function)
  • Context menu state management system
  • Global keyboard event handling
  • Improved data flow for table operations
 
UPDATE TIME
Changelog 1.10

Pagination System​

  • Table Pagination: Added pagination controls for tables with more than 1000 rows
  • Previous/Next Buttons: Navigate through large datasets easily
  • Page Counter: Shows current page, total pages, and total row count
  • Smart Loading: Only loads 1000 rows per page for optimal performance

Context Menu System (Right-Click)​

  • Universal Context Menus: Right-click anywhere for quick actions
    • Works in tree view (sidebar)
    • Works in grid view
    • Works in list view
    • Works in details view
  • Tables Context Menu:
    • Open Table
    • Copy Table
    • Paste Table (when available)
    • Rename Table
    • Delete Table
  • Functions Context Menu:
    • Open Function
    • Rename Function
    • Delete Function
  • Database Context Menu:
    • Backup Database
    • Paste Table (when available)

Keyboard Shortcuts​

  • Ctrl+F: Open Smart Search from anywhere
  • Ctrl+N: Create New Table (when in tables view)
  • Ctrl+Shift+N: Create New Function (when in functions view)
  • Escape: Close context menus

CRUD Operations​

  • Create Table: Visual table designer with interactive column editor
    • Add/remove columns dynamically
    • Configure data types, length, primary key, identity, NOT NULL
    • Schema and table name selection
    • Column-by-column configuration
  • Create Function/Procedure: Full SQL editor for creating routines
    • Syntax examples provided
    • Supports both functions and procedures
  • Delete Functions: Delete stored procedures and functions from all views
  • Enhanced Delete: Delete buttons for both tables and functions in all view modes

🔍 Search Improvements​

  • Full Table Search: Search now queries entire table, not just current page
  • Server-Side Search: Filtering performed at database level for better performance
  • All Columns Search: Searches across all columns automatically
  • Clear Search Button: Quickly clear search filters
  • Result Counter: Shows "Filtered" vs "Total" counts when searching

🎨 UI/UX Improvements​

  • Larger Window: Increased from 1400x900 to 1600x1000 pixels for better visibility
  • Optimized Dialogs: All dialogs properly sized to avoid unnecessary scrollbars
    • Create Table Dialog: 700-900px width, 90vh max height
    • Create Function Dialog: 700-900px width, 90vh max height
    • Smart Search Dialog: 650-850px width, 90vh max height
    • Run Function Dialog: 500-800px width, 90vh max height
    • All other dialogs optimized
  • Better Function Editor: SQL editor increased from 400px to 500px minimum height
  • Cleaner Toolbar: Removed redundant buttons, moved to context menus
  • Professional Menus: Native-looking context menus with icons, separators, and hover effects
  • Optimized Content Areas: Better use of vertical space with adjusted max heights

🔒 Database Filtering​

  • System Databases Hidden: Filters out master, tempdb, model, msdb automatically
  • User Databases Only: Cleaner interface showing only your custom databases

🐛 Bug Fixes​

  • Fixed table search to work across entire dataset instead of just loaded page
  • Fixed pagination to properly track and display total row counts
  • Improved copy/paste workflow with better user feedback
  • Fixed paste functionality - can now paste to any database via context menu
  • Resolved issues with context menu positioning

🏗️ Technical Improvements​

  • Backend pagination with offset/limit support
  • Server-side WHERE clause filtering for searches
  • Enhanced IPC handlers for CRUD operations (create-table, create-function, delete-function)
  • Context menu state management system
  • Global keyboard event handling
  • Improved data flow for table operations
Hello, I need help setting up a 4story server. Can you help me with the steps involved? I have Windows 11, but I'm having trouble with the TCTRL_GSp service and three others that won't start. Any solutions? (I'm not a computer expert.) Since there's no one else who can help, I'm using ChatGPT, but I'm going in circles. It keeps switching me to a virtual machine for Windows 7 and then Windows 10, and the problem persists! Please help!
 
Hello, I need help setting up a 4story server. Can you help me with the steps involved? I have Windows 11, but I'm having trouble with the TCTRL_GSp service and three others that won't start. Any solutions? (I'm not a computer expert.) Since there's no one else who can help, I'm using ChatGPT, but I'm going in circles. It keeps switching me to a virtual machine for Windows 7 and then Windows 10, and the problem persists! Please help!
I would highly recommand to follow this thread https://forum.ragezone.com/threads/setting-up-a-4story-5-0-server-client.1240469/
 
Yes, I saw that, but I'm stuck on the TCTRL_GSP service and others, which tells me that "Windows could not start".
Yes, that's a result of not following the instalation steps one by one, check the reg files and all the places where you have the password typed in. Also please start a new thread in help and i will reply over there, this thread is for totally different reason
 
Back