| Thread | Last Post | Replies |
|
| Changing 100 table object owner names at once | 26 Jun 2004 23:42 GMT | 1 |
Is there any way I can change the object owner for over 100 tables in a single data base at once in SQL 7 without using the sp on each table?
|
| using a variable for a @TO parameter in xp_stmp_sendmail | 26 Jun 2004 23:38 GMT | 1 |
I am using the following to send mail, but instead of @TO = N'yyy@abc.ab.ca' I want to specify a variable from my procedure: @TO = N@emailaddress
|
| IIF in where clause to exclude selection criteri when null | 23 Jun 2004 15:13 GMT | 1 |
I've got a huge Reprot in Crystal 8.5. I've discovered that I can't work with the report if I change the Stored Proc the report is based on. (this is a kown and popular issue )
|
| Dealing with Nulls, - use previous record | 22 Jun 2004 21:29 GMT | 1 |
Do u know of a function that will return a field from the previous record if the current record's field is null? I know this is available in Monarch, but do not know how to do it in SQL Server.
|
| Using Stored Procedure returned fields in another Stored Proc or Query | 22 Jun 2004 21:23 GMT | 8 |
I've got a Join All stored proc which returns about 120,000 records. It simpley returns Account number field and Balance field for each acustomer ccount for each table.
|
| Defining a concatenated column size | 18 Jun 2004 21:07 GMT | 1 |
I have a column within a view that is a concatenation of several different columns of another table. It goes something like: tblA.columnA + '-' tblA.columnB + '-' tblA.columnC + '-' tblA.columnD As 'NewColumn' Is it possible to define the size of the 'NewColumn' within the view? ...
|
| Conditional computing | 18 Jun 2004 15:40 GMT | 1 |
I'm working on a report that gives a summary of data in a sql server database. The structure of the database is the following: A company has one to many investments. These investments are for a certain sector, are of a certain nature and are in a certain state. This gives us a
|
| Finding tables referenced in a Stored Procedure | 14 Jun 2004 10:44 GMT | 2 |
I'm in desperate need of some help. I am trying to identify db objects that are no longer in use. i have a list of sp's that are not being used, and i'm trying to look in the body text of the sp (by querying the text
|
| Access Format Equivalent | 14 Jun 2004 07:11 GMT | 2 |
What would the equivalent syntax be to format the following in SQL as can be done in Access. Format("000000",employee) to return 012345 from 12345
|
| Prevent insert duplicate record TRIGGER | 11 Jun 2004 05:45 GMT | 1 |
I'm hoping someone can help me refine a trigger which will prevent writing records to a table (dbo.JOB) if the field value of Inserted.InvoiceNo already exists in dbo.JOB.InvoiceNo. The syntax checks out on the trigger but I'm still able to write duplicate records into the table. ...
|
| Dynamic SQL and IN list - Thanks! | 10 Jun 2004 02:41 GMT | 1 |
I am trying to get dynamic SQL working with an IN list and can't find any answers in the SQL Server Help. 1)I can get a simple parameter working as below declare @sSql nvarchar(500)
|
| Query Help | 09 Jun 2004 19:19 GMT | 2 |
Having a brain fart and I know this is simple but I've already wasted a couple hours - so I was wondering if someone could help. Example Source Table: Id: Company: StatesCovered:
|
| how do i create a view within a procedure that uses a variable defined in the procedure | 09 Jun 2004 18:14 GMT | 4 |
how do i create a view within a procedure that uses a variable defined in the procedur regard nikhil
|
| MS KBN 830767; SQL Query Analyzer Stops Responding | 08 Jun 2004 16:01 GMT | 3 |
Where can I get the hotfixe specified in the article? It looks like it should be a 'free' hotfix but the options all cost $$$. Please advise. Thank you. REF: Microsoft Knoledge Base Article 830767.
|
| Getting relationship data | 07 Jun 2004 18:30 GMT | 1 |
H I am trying to create a query or set of querys, which will allow me to retrieve the relationship data of a database. In sql Server 2000 the user can create diagrams which show these relationships, what i want to be able to do is get this data, but i am having trouble finding a ...
|