SQL Database Questions and Answers

Recent IT Questions

21 - 40 of 73

Connectionstring for paradox db password protected

Hello everybody, Searching for answers I've found this insteresting page!! I've created a SQL query to a paradox database, it works fine with a non- password protected table: Provider=MSDASQL;Persist Security Info=False;Mode=Read;Extended...

View Answer   |  Mar 26 2009  4:34 PM GMT
SQL Query, ASP, SQL Database
asked by Starbasestarfleet

  20 pts.

table row values for column headers

Hi. I have two tables in a simple database: Prices ID (int, identity, PK) Year (smallint - year of value) Quarter (smallint - year quarter 1-4) Area (smallint - FK to Areas.ID) Index (float) Areas ID (int, identity, PK) Name (varchar) So, as you can see, the Prices table contains price...

View Answer   |  Mar 17 2009  7:25 PM GMT
SQL, SQL Database, SQL tables
asked by Snowbunny

  5 pts.

Reporting and Mirrored SQL2005 DB

Can i access the sql2005 mirrored db via crystal reports for reporting

View Answer   |  Mar 10 2009  8:04 PM GMT
SQL 2005, SQL Database, SQL 2005 Database
asked by Civmailman

  15 pts.

VB.NET code to search if a record already exists or not

hi! i m fresher i want a vb.net code to serch record from sql database table by using 2 fields of table as a condition i.e client name and client code before saving any new record and if record already exist in table it give me message for that i m sending u code plz rectify it and reply Imports...

View Answer   |  Feb 11 2009  9:49 AM GMT
VB.NET 2005, Search string, Visual Basic .NET
asked by Sachinm

  10 pts.

Crystal Reports last twelve months

I wrote a report that accululates invoice totals for each customer in a sql database based on period and year for period. I manually entered the last 11 months in the formulas by taking current month minus 1, then current month plus 10, year minus one and so forth. How can I make this process...

View Answer   |  Feb 7 2009  10:00 PM GMT
Crystal Reports, SQL Database, SQL queries
asked by Dunbar

  5 pts.

Tricky Grouping problem!

I am trying to migrate some Employee absence data, from one table to another. The data currently looks like: Employee, Date, Reason ------------------------ dave,01/01/08,sick1 dave,02/01/08,sick1 dave,03/01/08,sick2 dave,04/01/08,sick1 dave,05/01/08,sick1 bob,01/01/08,sick1 bob,02/01/08,sick1...

Answer Question   |  Jan 9 2009  1:53 PM GMT
SQL, SQL Database, SQL Database Grouping
asked by EggBeard

  5 pts.

How to configure the database instance to respond slowly for any request?

With default configuration settings at DB instance, the db server is responding quick. For my tests, i want the db server response to be slow. What configuration changes or anything else can be done so that the db instance will respond slowly (atleast take 1 minute time to execute). The request...

View Answer   |  Dec 16 2008  7:24 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

Finding which columns contain data in a table

I have to establish which columns in a table have data present. Each row has up to 100 columns, and not all of the columns contain data relating to the row. So in Table 1, Col1 Col2 Col3 Col4 Row 1 abc Row 2 abc Row 3 ...

View Answer   |  Dec 10 2008  3:42 PM GMT
Data migration, Database migration, SQL Database
asked by TedGiles

  5 pts.

Transfering SQL files from location to colo

What is the fastest way to get the SQL database files transfered over? i.e. zip the files

View Answer   |  Dec 4 2008  0:26 AM GMT
SQL Database, SQL Database Transfer
asked by Phatboy812

  25 pts.

Users in a data base

How many users concurrents does the database SQL support???

View Answer   |  Dec 3 2008  9:36 PM GMT
SQL Database, SQL Database Concurrent Users
asked by Users

  5 pts.

How to test whether the Database tables designed to avoid deadlock occurence?

I heard from our dev team that our db tables are designed such that there is no chance of deadlock. How to test whether the Database tables design avoids deadlock? By reviewing the db scripts (table creation) can we find whether the db table design is deadlock proof or not? What else can we...

View Answer   |  Dec 3 2008  11:04 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

Database offline vs Database stopped vs Database network disconnected?

How Database Offline is different from Database Stopped? How Database Offline is different from DB network disconnection? How Database Stopped is different from DB network disconnection? Appreciate your help.

View Answer   |  Dec 3 2008  4:51 AM GMT
Oracle, DB2, Network connectivity
asked by Saimadhu

  370 pts.

How to push the Database into deadlock state?

Hi, We are doing Database FailOver testing (DBFO). As part of this, we want to check if primary db is in deadlock state then what happens? whether the transactions will go to back up db or not? How to get the primary db into deadlock state? Appreciate your help.

View Answer   |  Dec 1 2008  11:44 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

Database SQL

During the copy paste the old data (*.MDF and *.Ldf) with current data same files. When going to open database showing error like " server: msg 945,level 14,state 2 database 'vimalind'cannot be opened becouse some of the files could not be activated." How can rectify this... Pls tell me ..

View Answer   |  Nov 28 2008  12:04 AM GMT
SQL Database, SQL error messages
asked by SAP Cum IT

  35 pts.

Finding the 3rd highest in the table using SQL.

The table name is 'Employee' with the columns Empname Sal Age A 8000 25 B 7000 24 C 6000 26 D 9000 25 what is the syntax used to find the 3rd highest. I have tried with all the syntax but no gain. I have searched in w3schools.com but was not able to find the right answer. Kindly help.... Reks

View Answer   |  Nov 27 2008  3:39 PM GMT
SQL Database, SQL Query
asked by 197579

  10 pts.

I want to retrieve always the first record via sql

I want to retrieve always the first record of a group of records i.e. a history of sold articles, I want to see the date of every first sold article

View Answer   |  Nov 26 2008  3:23 PM GMT
SQL, SQL Database, SQL Record
asked by Fra908

  20 pts.

Two programs with separate SQL Databases

I have one program that uses an SQL database and I want to install a different program that also uses an SQL database on the same machine. Will this cause a problem? Why or why not?

View Answer   |  Nov 19 2008  11:07 PM GMT
SQL, Database, SQL Database
asked by Cstanley

  25 pts.

Limit admin access to a single database SQL2005

I want to set up an account similar to sa but limit the rights to a particular db.

View Answer   |  Nov 18 2008  7:34 PM GMT
SQL Database, SQL 2005, SQL Permissions
asked by Cybx

  10 pts.

indexes on a large table

hello, i got a 5milion rows on a single table, my database is sql2005 and my select is : SELECT top * FROM tbl1 WHERE ip_from <= 3515134258 and ip_to >= 3515134258 the 3515134258 is on a sample but the format is similar: SELECT top 1 * FROM tbl1 WHERE ip_from <= [value] and ip_to...

View Answer   |  Nov 11 2008  7:33 PM GMT
SQL Database, Index Performance, SQL 2005
asked by Bbbttt

  15 pts.

Writing a stored procedure to insert an ASP.net file into a SQL database

I need to write a stored procedure to insert into a SQL database the contents of a file that has been in read in ASP.net. How would I do this?

View Answer   |  Nov 7 2008  3:37 PM GMT
ASP.NET, SQL Database, SQL Server stored procedures
asked by SQL Server Ask the Experts

  2445 pts.

21 - 40 of 73