Microsoft
Software
Hardware
Network
Question : Best way to query SQl 2008 trough VB 2008
I have some tables that have two fields "Year" & "Company".
I want to do about 30 queries on that tables but only for the records that matches the "Company" "Year" filter.
I want to know the best way to do that.
Write the queries on VB?
Write the queries in VB using LINQ
Generate Functions on SQL using "Company" Year" as parameters
Mix Filter the main tables using a function and then write the queries on Views using the filtered data.
The queries that I'm talking about are simple queries like "Select * from where "Company" = .. and "Year"= ... and "Status" =1
Answer : Best way to query SQl 2008 trough VB 2008
I personally would write the queries in VB using Linq
. Using Linq does not stop you from using Stored Procedures or Function in SQL server. Less code to write to query the DB.
Random Solutions
Terminal Server allowing multiple sessions for one user
How do I run install off hard drive?
Title: Error: A RunSQL action requires an argument consisting of an SQL statement (2)
Recover email from Emptied Deleted Items folder
Alert Error number for job failed and successfull
Linux home directory is full
Using ADO with SQL 7.0 - performance issue
Undelivered Mail Returned to Sender User EMail Sppofed? How can I stop this?
Need to Capture LPT1, FROM MULTIPLE PRINT JOBS, and save them all in one file
MOD 10 calculation