Environment Selection:
● SANDBOX (Green) ← Choose this for first time
○ TEST (Orange)
○ PROD (Red - Be careful!)
Click [Apply]
✅ You're logged in! The main window opens.
Step 2: Connect to SQL Server
2.1 Add Your First Server
Right-click in the Server Explorer panel (top-left)
Select "Add Server..."
2.2 Fill in Server Details
Enhanced Add Server Dialog:
Server Name:
localhost ← For local SQL Server
OR .\SQLEXPRESS ← For SQL Express
OR your-server-name ← For remote server
Display Name: (Optional)
Dev Server
Authentication:
● Windows Authentication ← Easiest option
Connection Options:
✓ Trust server certificate
Connection timeout: 30
Click [🔌 Test Connection]
2.3 Test & Save
Click "🔌 Test Connection" - You should see:
✅ Connected successfully!
Server: MYSERVER\SQLEXPRESS
Version: SQL Server 2019
Click "Connect" to save
✅ Server added! You should see it in the Server Explorer tree.
Step 3: Analyze Your First Object
3.1 Select Database
Click your server in the Server Explorer
Wait for databases to load
Click a database name in the Database Explorer (middle-left)
3.2 Find an Object
In the Object Explorer (bottom-left), use the search box:
🔍 Search: GetCustomer
Or manually expand:
Stored Procedures → dbo → Pick any procedure
3.3 Analyze Dependencies
Right-click the object (e.g., dbo.GetCustomerOrders)
Select "🔍 Analyze Dependencies"
✅ Analysis Complete! You now see:
LEFT PANEL (3 Tabs):
⬆️ Upstream - What this object needs (tables, other procedures)
⬇️ Downstream - What depends on this object
📊 Call Order - Execution sequence
RIGHT PANEL:
SQL Code - The object's definition with syntax highlighting
What You Just Did
🎉 Congratulations! You just:
✅ Logged in to SODA+ AI with secure session management
✅ Connected to a SQL Server database
✅ Analyzed dependencies for a database object
✅ Viewed upstream/downstream relationships
✅ Inspected SQL code in the viewer
Why this matters:
You can now see impact analysis before making changes
You understand dependency chains across objects
You can document database architecture visually
Common Mistakes to Avoid
❌ Mistake 1: Selecting PROD Environment
Problem: PROD is for production databases - risky for learning!
Solution: Always use SANDBOX for first-time exploration
❌ Mistake 2: Skipping "Test Connection"
Problem: You won't know if server details are correct
Solution: Always click "🔌 Test Connection" before saving
❌ Mistake 3: Not Using Search
Problem: Databases can have 1000+ objects - hard to browse
Solution: Use the search box: 🔍 Search objects...
❌ Mistake 4: Forgetting to Expand Sub-Tabs
Problem: You only see part of the analysis
Solution: Check all 3 sub-tabs: Upstream, Downstream, Call Order
❌ Mistake 5: Ignoring the Right Panel
Problem: You miss seeing actual SQL code
Solution: Click items in dependency trees to view their code
What to Do Next
Immediate Next Steps:
1. Explore More Objects (5 minutes)
Try analyzing a Table - see what uses it
Try analyzing a View - understand its dependencies
Try analyzing a Function - see its call chain
2. Use the Object Search Feature (2 minutes)
In Object Explorer, use the search box: 🔍 Search objects...
Search for objects by name: Customer
Try schema-qualified search: dbo.Get
Clear search and try again
3. Try Cross-Database Search ⭐ NEW! (5 minutes)
Go to Search menu → Search Current Server
Enter search term: Customer
Select object types to search (Tables, Views, Procedures, Functions)
Check "Search inside code definitions" for comprehensive search
Optional: Enable "Use AI to filter irrelevant results" (requires API key)
Click 🔍 Search
See results from all databases!
Tip: Double-click a result to open it in Dependency Analyzer