all groups > sql server programming > july 2007 > threads for wednesday july 4
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Join with Max Filter in Child Tables?
Posted by lucius at 7/4/2007 11:47:07 PM
I am having a problem with some select-join syntax, can someone guide
me a bit?
DDL:
create table Master( keycol char(2) )
creata table SubA ( keycol char(2) , parta char(10) , wasupdated
datetime )
creata table SubB ( keycol char(2) , partb varchar(32) , wasupdated
datetime )
insert... more >>
App_Data\aspnetdb.mdf MSS Express e MSS Standard
Posted by Agos at 7/4/2007 11:39:04 PM
I developed an internet application using ASP.NET 2.0 and MSS Express on my
PC. It works very well.
I copied it in my company where I installed MSS Standard Edition and it
doesn't work the db connection.
I think the problem is on DB App_Data\aspnetdb.mdf that ASP.NET creates to
keep the user... more >>
How to create a simple trigger involving two tables
Posted by Rex at 7/4/2007 11:17:54 PM
I have two tables as follows:
======================================
CREATE TABLE [dbo].[Member] (
[memberID] smallint IDENTITY(1, 1) NOT NULL,
[familyID] smallint NULL,
[memType] smallint NULL,
[title] varchar(50) COLLATE Latin1_General_CI_AS NULL,
[firstName] varchar(50) COLLATE... more >>
SQL Query Help, Identify the ID inserted during an "INSERT INTO"
Posted by Daniel Reardon at 7/4/2007 10:34:11 PM
I'm having a problem with the logic in a SQL query that I need to run.
I'm selecting 4 columns from an old database and inserting 2 into
tableA and 2 into tableB of a new database. TableA and tableB both
have identities on with the self-incrementing values, albeit they are
starting at differe... more >>
Problem executing query
Posted by deepak at 7/4/2007 10:08:47 PM
Hi There,
i am facing problems while executing the query using ADO.NET,the
problem goes below:
i am using ExecuteDataset(sqlTran, CommandType.Text, query) and my
query is this
SELECT * FROM TBL WHERE CreatedDateTime = '1/23/2011 4:38:57.000 PM'
and the result set has nothing in it .but ... more >>
Rich Text Box - Remove Subscript
Posted by Chris at 7/4/2007 6:27:46 PM
I want to change the text within the rich text box control so it removes
formatting I don't like. E.g. I want the text to always be Arial size 10,
it should always be black text etc.
This is the code I am using to strip off the formatting
With txtTest
RTFSelLength = .SelStart... more >>
SQL Express RANU and Uninstalling application
Posted by Olivier MATROT at 7/4/2007 5:31:51 PM
Hello,
We are packaging SQL Express 2005 with our application, and we are using the
RANU feature.
The problem, is that I would like to manage the Uninstallation of our
application at the SQL level, that is, detaching the database from SQL.
I've read that I sould use sp_detach_db to do this, b... more >>
Trouble with GROUP BY
Posted by Hidarisei at 7/4/2007 12:28:02 PM
Hello,
I would like some help regarding an issue I'm having in SQL Server 2000. I
have some tables that represent an inventory of raw materials for
remanufacturing and I cannot seem to group my tables properly.
Every raw material has a reference (because several suppliers may sell the
sa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Linked server permissions
Posted by John Scott at 7/4/2007 10:26:04 AM
Hi there,
I am running SQL Express 2005 on my localhost...I also have an Acess
database which i've set up as a Linked Server. When I open SQL Server
Mangement Studio Express I can query the tables in the linked server with no
errors/problems.
But, when I run my .NET web application and ... more >>
Simple Query to Select ALL duplicate Records
Posted by Bals at 7/4/2007 5:39:31 AM
Hi to all,
I have a simple question?
Create table test
(a int)
insert test values (1)
insert test values (1)
insert test values (1)
insert test values (2)
insert test values (2)
select * from test (nolock)
out put:
a
--
1
1
1
2
2
Question: I need all the duplicate records fro... more >>
Soloution needed
Posted by Peter Newman at 7/4/2007 4:44:00 AM
Im trying to write a Stored Procedure tjat will accept a 'string' from a
vb.net application. I can execute the stored procedure and ger the results
back, but the problem is that i have a variable string in vb that can exceed
20,000 bytes and need to be able to parm this into the stored proc.
... more >>
Sql server 2005 mirroring problem help need urgent thannks
Posted by Mark at 7/4/2007 3:40:00 AM
HI i have two server one is active server called server1 and the other is
mirror server called server2 today i am facing a problem.
the problem is my all database which is configured for mirroring showing the
green up arrow plus this message (Mirror, Synchronized / Restoring...) and i
cannot ... more >>
TSQL, Doubles, Problem with Update
Posted by andreas.wrzaszczyk NO[at]SPAM tripol.de at 7/4/2007 1:56:38 AM
Hi group,
I've got a problem with a Update-Statement.
My table looks like that:
imp_id loc_id ext_id source_id src_system ext_id2
12 4455 1-12-C 25 3 1232
13 4455 1-12-C 34 3 NULL
14 4455 1-12-C 47 3 ... more >>
view schemabinding
Posted by farshad at 7/4/2007 1:52:04 AM
Is it possible to create one view with schemabinding which has the select
query on several tables?
Or do I have to have one view with schemabinding per table?
Thanks
i.e.
alter view vwTables with schemabinding
as
SELECT ActionID, [Action] FROM dbo.tblActions
SELECT AuditID,TableID,Actio... more >>
String with a '
Posted by Ruud at 7/4/2007 12:00:00 AM
Can some one tel me how a can save a string from a vb.net application
into a sql database as this string contains a ' de field is a varchar.
... more >>
Database Documentation - SQL Server 2000 Question
Posted by New Bee at 7/4/2007 12:00:00 AM
Hi There,
I need to do something quite simple like export a list of Stored Proceedure,
User Defined Functions, tables, etc
How can I do this in enterprise manager.
Cheers
... more >>
string met een '
Posted by Ruud at 7/4/2007 12:00:00 AM
Hallo allemaal,
ik zit met een probleem in sql nl.
In een vb.net applicatie wordt een string gevuld met tekst die
vervolgens weggeschreven wordt naar sql, dat gaat allemaal goed echter
op het moment dat de tekst een ' bevat krijg ik een fout melding. ik
heb vervolgens de query handmatig op de... more >>
|