Viewing 15 posts - 1 through 15 (of 37 total)
thanks again gregs. Your help has thought me so much. I realised I needed to add an InvoiceID field to my file_costings table so I can apply a particular costing...
September 12, 2011 at 7:29 am
thanks guys. will give this a shot and post back
September 12, 2011 at 1:42 am
hi gregs,
this query is brilliant. almost exactly what I need. The first part is 100%. The second part where it does the Pivoting is where I have a problem.
I need...
September 9, 2011 at 1:08 am
wow. thanks alot for your help:-) I will give it a try and post back.
September 8, 2011 at 7:23 am
here goes guys. sorry for the long delay. Please create a Test database and run the script I am posting. Basically, my main table is the File Table. Each file...
September 2, 2011 at 2:21 am
Hi again,
the costings table isn't relalted to file. I will probably need an intercepting table to save a costingid with the fileid. So that tables sole purpose would be to...
July 13, 2011 at 4:48 am
hi, this is the costings table. I just created it now:-P
CREATE TABLE [dbo].[Costings](
[CostingID] [bigint] IDENTITY(1,1) NOT NULL,
[Description] [varchar](150) NULL,
[Active] [bit] NULL,
CONSTRAINT [PK_Costings] PRIMARY KEY CLUSTERED
(
[CostingID] ASC
)WITH (PAD_INDEX ...
July 13, 2011 at 4:20 am
Hi ALZDBA,
This looks very promising:-D I realised now that I need to return the table from a Function. I tried pasting the code into a Table Valued Function but got...
April 29, 2011 at 3:12 am
hi again,
even the original db has no pk:( what other options do I have?
March 2, 2011 at 1:15 am
Hi Jeff,
thanks for your help. The reason I don't have a primary key is because I just dump data from another database into ours so we can then import that...
February 28, 2011 at 10:54 pm
thanks for all your help. I've learnt alot from you;-)
August 5, 2010 at 7:55 am
Hi again,
I've added the followinbg to my script
USE [master]
IF NOT EXISTS (SELECT * FROM sys.server_principals WHERE [name] = 'Reality')
BEGIN
-- Create user for SQL Authentication
CREATE LOGIN Reality WITH PASSWORD...
August 5, 2010 at 7:13 am
sorry but i'm a bit lost. Is there anyway to get the account info of the user logged into windows in sql server?
Maybe I should tackle this differently. What do...
August 5, 2010 at 5:20 am
Hi again,
if I remember correctly there is a check box that asks if you want to add the user to logins as they are not added by default.
Thing is i'm...
August 5, 2010 at 4:45 am
Viewing 15 posts - 1 through 15 (of 37 total)