Viewing 15 posts - 11,791 through 11,805 (of 26,486 total)
Please note, the create and drop of the sample data table is there so that I would cleanup my Sandbox database.
May 22, 2012 at 10:24 am
Not quite what you asked for, but is this close? You can modify as needed and I kept the in-line function I added above as well.
CREATE TABLE [dbo].[E_TimeCards](
[TC_EMPNO] [nvarchar](9)...
May 22, 2012 at 10:23 am
As for the GO, no, do not put a ; after it as it will error.
May 22, 2012 at 10:14 am
Here is a best guess (with a little extra) without additional information.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION [dbo].[itvf_FormatTimeHHMM] (
@Date1 DATETIME,
@Date2 DATETIME
)
RETURNS TABLE...
May 22, 2012 at 10:10 am
Also, please be sure to include the expected output based on the sample data. Right now I am not quite sure what output you are expecting from your initial...
May 22, 2012 at 9:33 am
craigalaniz (5/22/2012)
Here is my problem. I have a table that is used for time clock punches, the IN and OUT punches do not have any way of linking the...
May 22, 2012 at 9:31 am
I'm torn with this thread. Should we tell the OP that it is possible to hde structural changes to the tables of the database from application using views? ...
May 22, 2012 at 9:27 am
The following answers assume that the witness and principal server (database) are still working while the mirror server/database is down.
1) T log size of Adventureworks db on live server? will...
May 22, 2012 at 9:01 am
SQL Kiwi (5/22/2012)
David Benoit (5/22/2012)
May 22, 2012 at 8:52 am
kwe477 (5/22/2012)
Lowell (5/22/2012)
to change this to a set base, wer would need to see the...
May 22, 2012 at 8:46 am
dwain.c (5/22/2012)
Jeff Moden (5/22/2012)
Shifting gears a bit... Lynn wrote...
I have learned to stay away from scalar...
May 22, 2012 at 7:43 am
latingntlman (5/22/2012)
Thanks, Matt. It works! I thought it was somewhere in the placing of the quote marks. FYI, it works with "exec" vs "print".Regards,
John
If PRINT isn't working, take off...
May 22, 2012 at 7:35 am
This is where I would start my investigation: CWBCO1048 - A firewall blockage or time-out occurred trying to connect to the System i.
May 22, 2012 at 7:32 am
To start, I would probably set the max memory to 20GB (20480MB) on all three instances. This will 4GB for the OS. You can then monitor the instances...
May 22, 2012 at 7:31 am
Jeff Moden (5/22/2012)
Shifting gears a bit... Lynn wrote...
I have learned to stay away from scalar functions....
May 22, 2012 at 12:29 am
Viewing 15 posts - 11,791 through 11,805 (of 26,486 total)