9,022 Topics

Member Avatar for
Member Avatar for Qmoto

I'm getting the error [inlinecode]Incorrect syntax near '='.[/inlinecode] when I use the following case statement in a view. Obviously I'm not an expert on MS SQL, but I'm curious as to why I am allowed to use the '=' sign in a preceeding statement but not in the THEN section. …

Member Avatar for Qmoto
0
997
Member Avatar for B.H

Hi, I do have another doubt. The thing is in my project done in VB.NET and MSQL as back end...I need to print multiple pages. I can print only the page that is displayed on the VB.NET form ie the datas displayed on the VB.NET form. But it has more …

Member Avatar for Narue
0
433
Member Avatar for umesh.bajaj

Hi, Im a NIIT student and I have just given my MS-SQL Server's examination and now I have an [COLOR=#555555]opportunity to give an examination for the same [COLOR=#555555]course conducted by Microsoft itself. Our [COLOR=#555555]faculty tells us that it has [COLOR=#555555]round about 35-40 question of 1000 marks but the problem is …

0
10
Member Avatar for B.H

Hi, I need an urgent help. The thing is after I deployed my project and run it in another machine it shows an error when i click on the Crystal Report "Cannot find Keycode V2.dll or invalid code key" My project is done in VB.NET with MSQL2000 as the BackEnd. …

0
69
Member Avatar for cajun67

I have a web site that I've set up, and has been running for several years. The client has MS SQL Server. When it comes to the administration side of SQL Server, admittedly I don't know enough. The web application has been running fine, but we've been getting errors with …

Member Avatar for MCP
0
106
Member Avatar for jcf

:eek: Hi, Im having problems in adding new records in a database connected to .net. The data type of ID in access is NUMBER. When I click SAVE it shows this error message: "Column 'ID' is constrained to be unique. Value '1' is already present." Here is the code for …

Member Avatar for sushanth
0
360
Member Avatar for millanskie

Is it possible for VB6 to establish a direct remote sql connection and make a query in the remote sql database? If possible what are the reference do I need to add to make it working? Somebody please give a me a good example... from establishing a connection, query in …

Member Avatar for Ancient Dragon
0
95
Member Avatar for chuck577

Hello guys, I have a Calendar control that I am working on. I am having problems with the appointment portion of it. Everytime you click on a time slot and type, it adds an appintment. Here is the code I use to add the appointment. [code] [COLOR=#008080]Appointment[/COLOR][COLOR=#000000] m_Appointment = [/COLOR][COLOR=#0000ff]new[/COLOR][COLOR=#008080]Appointment[/COLOR][COLOR=#000000]();[/COLOR] …

Member Avatar for Killer_Typo
0
172
Member Avatar for amithasija

i know this is not a question u'll enjoy,but i am new to asp.net but i need a connectio string to start my project ,so can anybody plz tell me how to get connection string while using sql server 2005.plzz

Member Avatar for Paladine
0
146
Member Avatar for NolanVW

Below is the code I'm using to try and simply display the contents of a table...however, I'm getting the following errors: `Warning: mysql_query(): Can't connect to MySQL server on 'localhost' (10061) in d:\Customers\user######\www\dbtest.php on line 18` `Warning: mysql_query(): A link to the server could not be established in d:\Customers\user######\www\dbtest.php on …

Member Avatar for phper
0
171
Member Avatar for jbennet

Ok im getting into ASP.NET 2 and SQL and i was wondering if there are any free forum starter kits/templates out there?

0
72
Member Avatar for saurabh_kanwar

Hi Guys, I'm having some problems in importing data from a file into a table. I created this file by exporting data from the same table. I've deleated all the records from the table and now I want to fill it up from the file I've created I'm importing data …

0
77
Member Avatar for scripter

[COLOR=#191970]The data table looks like this date num1 num2 num3 num4 num5 num6 1/1/06 1 45 32 21 15 48 SQL script 1 should be able to do the following show the Top 3 number pairs another words if the pair 45 and 15 shows up 98 times and 32 …

Member Avatar for MCP
0
367
Member Avatar for MikeStokes

Gentlemen: :?: Sorry to have posted twice, but I really messed up the title. Can anyone send me to the right contact for some SQL Topology assistance? I have posted on several SQL Forums and everyone seems to dance around this topic. I need to find out the proper way …

0
66
Member Avatar for gani

hi , how do i migrate data from mysql to mssql.....i need some free convertor tools....can any body help me

Member Avatar for cplmckenzie
0
66
Member Avatar for MikeStokes

[COLOR=#191970]Can anyone possibly give me some pointers on how to speed up access to a central SQL Server from 3 remote sites. Currently 2 of the sites use 3mg DSL and the other uses Broadband Cable 3mg. All are VPN's into the server through SonicWalls. This topology is extremely slow …

0
55
Member Avatar for saurabh_kanwar

Hi Guys, I was just trying to transfer data from access tables to a txt file and then back from file into a table using following code [code] Private Sub Command0_Click() DoCmd.TransferText acExportDelim, "Db Export Specification", "AUTHENTICATION", "J:\Power Equipment\Common\SK\db.TXT" End Sub Private Sub Command1_Click() strSQL = "delete * from AUTHENTICATION_TEST" …

Member Avatar for TheDugglerrr
0
97
Member Avatar for TheDugglerrr

Hi :) Im not an SQL n00b, but I'm no SQL guru... I'd like to work out the SQL code required to achieve the following goal in pseudocode: Grap a record Using info from that record, add (the width) to a running total. When the running total exceeds a certain …

0
107
Member Avatar for rhnewfie

I am having a wierd problem in that i can run my website from VS2005 and it hits the db for my articles list and gets them all back successfully. Although if I build my site and run it from the local host I can see the DB get hit …

0
59
Member Avatar for Kediemetse

Name: kediemetse NickName: saralinkie Weight: Mmmm Heish Ok, 60 Location:SA Age:33 Hobies: I like reading novels, gardening, golfing, going out with my Son to meets some friends, listen to Gospel, R& B is not the bad idea and listen to jazz. Favourate Movies: Ag Nigerian Movies, Ahaa James Bond, Jackie …

Member Avatar for happygeek
0
29
Member Avatar for amithasija

i have two questions? i made my window application in c# using standalone firebird database ,now i want to make my exsisting application database as emmbedded firebird database???? how can i,and also want to implement import feature in my application,which imports the database backup file(export is working fine).

0
59
Member Avatar for STIVISA

hi all am really new to vb2005, i need to connect ma apploication to a database on ma server but cant as i nee d to b able to store data . is there a code i can use? its a SQL 2005 server

Member Avatar for Ancient Dragon
0
38
Member Avatar for jclast

Hey, I've got a databae in which each record has seven dates associated with it, and I need to pull out each record's ID and its associated most recent date. Here's my first attempt, but Access doesn't like it at all. [code]SELECT id, MAX(initialCertDate, recertDate1, recertDate2, recertDate3, recertDate4, recertDate5, recertDate6) …

Member Avatar for redsa
0
101
Member Avatar for madcloud

Hi all!! Is there a way to return 2 cells merged in one? For example take the followng table: | A | B | C | |abc | def| etc | and from this do a "SELECT A, B FROM table WHERE C='etc'" but instead of getting two values "abc" …

Member Avatar for redsa
0
78
Member Avatar for newtoocsharp

I am using Visual C# Express and I have a window that I would like to be able to enter 2 dates ( a 30 day period) and connect to the 2005 Sql Express database and return a range of data that I can eventually graph. I want to add …

Member Avatar for tgreer
0
136
Member Avatar for sunilr

Hi Guys, I have developed a desktop client application which runs on the local machines of some clients. I have another server application which is basically a filewatch application which runs every 5 secs . What this server application does is check the SQL database for any new updates, & …

0
45
Member Avatar for sguy

hi, after I manually create maintenance plan using SQL server Maintenence Plan Wizard with SQL Server Management Studio 2005, is there any way to create a script for all these setting that I've done? So that I can just modify the database name and run it on another pc, the …

Member Avatar for sguy
0
68
Member Avatar for Member #25180

Let's say I have a column within a table that contains codes {0,1,2,3}. These codes are for what color shirt are in stock. We can say 0 is for black, 1 is for white, 2 is for red, and 3 is for blue. Then I run a SELECT query on …

Member Avatar for Sulley's Boo
0
151
Member Avatar for sravankolla

Hi all, I am working with a project which includes Crystal Reports in Vb.Net and SQL Server2000 as Back end. The code in button click is [code] str5 = "D:\AttendanceReport.rpt" If Not IO.File.Exists(str5) Then Throw (New Exception("Unable to locate report file:" & vbCrLf & str5)) End If str6 = "SELECT …

Member Avatar for deepthi0910
0
149
Member Avatar for spefanis

Hey I am just starting to play with some SQL stuff after upsizing a old access database. What i would like to do is be-able to pull information out of the SQL database and display this on a web site. The query i want to use i have built using …

0
60
Member Avatar for Adventurgurl

**Creating New User Issue** in VB.net with SQL 2005: I have a LogOn table and a Usr (User) table. A form that collects the new UserID,Password,FirstName,LastName, etc... I want to have two separate INSERT statements to first insert the UserID & Password. Then grabs the LogOnSys just created and create …

Member Avatar for hollystyles
0
400
Member Avatar for cancer10

How come MS SQl Server 2000 does not have an autonumber datatype as like MS Access does? Any alternative?

Member Avatar for MCP
0
83
Member Avatar for logitech14

Hello there, I need a help. I have a computer that has windows 2003 server installed and I have 9 clients in domain control that use SQL Active Directory, an aplications in Visual Basic. The problem is that whenever they try to use it is soooooooooooo slow and if I …

Member Avatar for MCP
0
97
Member Avatar for Giff

I have the "Critical System Error" in the task bar. I have run Hijackthis the log file will follow. Can someone please tell me what I have to do to remove this bogus alert? Logfile of HijackThis v1.99.1 Scan saved at 10:08:02 PM, on 11/17/2006 Platform: Windows XP SP2 (WinNT …

Member Avatar for Xpenetrator
0
81
Member Avatar for donkey

hey folks, I'm wondering if there is a function that i can give a db_name to and it will check the sql server to see if it exists without actually connecting to the db. If the name does not exist, i don't want to get an error in the log. …

Member Avatar for paradox814
0
78
Member Avatar for Member #25180

When ever I restore the master database I put the server in single user mode using "sqlsrvr.exe -c -m" at the command prompt. When I successfully restore the database I go to restart MSSQLSERVER service and it will say it is starting but will stop. I am able to login …

Member Avatar for Member #25180
0
86
Member Avatar for andy_mcdougall

Hi, I have an MS SQL 2000 database with a table that is used to store the header information on product returns. One of the fields in the table is a true/false field that indicates if the return has been processed (become a credit note). Can anyone tell me how …

Member Avatar for MCP
0
149
Member Avatar for saurabh_kanwar

Hi Guys, Just Wondering if it's possible to choose whether to run a macro or not depending on which user logs in. I've got a macro which updates the database everytime it starts. I want to restrict it to only limited number of users. Thanks for your time

Member Avatar for saurabh_kanwar
0
110
Member Avatar for fcaserio

Can a query running a selected database access a table on other database? How do I grant this kind of access? Going further, can a Foreign key be created among diferent databases? I'm running around this doubts for a while. Any help is welcome. []s

Member Avatar for fcaserio
0
116
Member Avatar for Oxiegen

Hi, guys! Got a problem here. :) I have a form that when it loads spawns a thread which in turn fills a publicly declared dataset with a table by a dataadapter and then binds a field from the table to a combobox. [code=vb]combobox1.DisplayMember = "fieldName" combobox1.ValueMember = "fieldName" combobox1.DataSource …

Member Avatar for Oxiegen
0
213
Member Avatar for saurabh_kanwar

Hi Guys, I'm having a bit of problem with my reports. I've got a report containing a subreport which has some headings in its report header. The subreport normally goes for 2 or 3 pages. The headings of the subreport appear on the first page but do not appear on …

Member Avatar for saurabh_kanwar
0
123
Member Avatar for spefanis

Hey all, i am new to these forums and was wondering if anyone could offer some advice/help Currenlty we have MS Access databse which was created well before i started, this database has all our work instructions mixed into it. Unfortunately it isn't the easiest thing to navigate and seeing …

Member Avatar for spefanis
0
80
Member Avatar for saurabh_kanwar

Hi Guys, Just wondering what's wrong with this coding UN = Form_MAIN!LOGIN_DETAILS.Value model = Form!COMBO_MODEL.Value stDocName = "MODEL_SELECTION" stCOND= "[MODEL_LN]='" & model & "'" And "[TM_NAME]='" & UN & "'" DoCmd.OpenReport stDocName, acViewPreview, , stCOND I'm getting a type mismatch error on the line where I specify value to stCOND. …

Member Avatar for saurabh_kanwar
0
137
Member Avatar for aniravla

Hi, I am new to asp.net programming. I want to know how I can display the record after login. This is the scenario: I have login.aspx and employee.aspx. After login it will direct the user to employee form and display the record of the logged in employee only. The employee …

Member Avatar for aniravla
0
103
Member Avatar for abexander

hi all im currently developing a website on my local computer and im a beginner.the front end is asp.net and back end sqlserver. But now i want to upload it to a server to so that it destributed to internet. So could any one tell me some of the hardware …

Member Avatar for ManicCW
0
104
Member Avatar for cancer10

Does anyone know the exact query for IN in the following senario... I want to search for 2 columns for 1 mobile number (mobile, alternate mobile) I am using the following query [code]strSQL = "select * from tblcontest where bar_mob_no IN('" & sSQL &"') or bar_alt_mob in('" & sSQL &"')"[/code] …

Member Avatar for noman78
0
83
Member Avatar for Vishal Dave

I have problem in ASP.NET 1.0 report So please tell me how to code and run Project report in ASP.NET back end is SQL SErver.

0
69
Member Avatar for reyhan12

Hi, when I installed MYSQL Developer Edition, a new invisible user was created called SQLDebugger. I was just wondering, can I delete this user. I just find it inconvenient that when ever I leave my computer idle for a few minutes, windows goes back to the user selection screen. If …

0
60
Member Avatar for NewVBguy

Hi there, I'm new to this sqlserver package. Is VB6 can able to work with this package like connectivity issues?. Can somebody advice me about this because my previous experience is purely on ms access database as backend front end vb6. thnx in advance.. newvbguy

Member Avatar for NewVBguy
0
100
Member Avatar for pallavi jadhav

Hi! all. I'm doing a project called "Query Optimizer".in which i have made a parser to parse the query! but now i'm not able to calculate the cost of thq SQL query( in terms of cpu time used,i/o perations,memory used,indexes defined etc.)so please can any body help me out ? …

0
82

The End.